pub enum BusinessPresenceKind {
Storefront,
ServiceArea,
Hybrid,
}Expand description
Local business presence shape.
Variants§
Storefront
Customers can visit a storefront.
ServiceArea
The business serves customers in an area without public storefront visits.
Hybrid
The business has both storefront and service-area behavior.
Implementations§
Source§impl BusinessPresenceKind
impl BusinessPresenceKind
Sourcepub const fn is_service_area(self) -> bool
pub const fn is_service_area(self) -> bool
Returns true when the kind includes service-area behavior.
Trait Implementations§
Source§impl Clone for BusinessPresenceKind
impl Clone for BusinessPresenceKind
Source§fn clone(&self) -> BusinessPresenceKind
fn clone(&self) -> BusinessPresenceKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BusinessPresenceKind
impl Debug for BusinessPresenceKind
Source§impl Hash for BusinessPresenceKind
impl Hash for BusinessPresenceKind
Source§impl Ord for BusinessPresenceKind
impl Ord for BusinessPresenceKind
Source§fn cmp(&self, other: &BusinessPresenceKind) -> Ordering
fn cmp(&self, other: &BusinessPresenceKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BusinessPresenceKind
impl PartialEq for BusinessPresenceKind
Source§impl PartialOrd for BusinessPresenceKind
impl PartialOrd for BusinessPresenceKind
impl Copy for BusinessPresenceKind
impl Eq for BusinessPresenceKind
impl StructuralPartialEq for BusinessPresenceKind
Auto Trait Implementations§
impl Freeze for BusinessPresenceKind
impl RefUnwindSafe for BusinessPresenceKind
impl Send for BusinessPresenceKind
impl Sync for BusinessPresenceKind
impl Unpin for BusinessPresenceKind
impl UnsafeUnpin for BusinessPresenceKind
impl UnwindSafe for BusinessPresenceKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more