pub struct BusinessLocation(/* private fields */);Expand description
A business location label or address string.
Implementations§
Source§impl BusinessLocation
impl BusinessLocation
Sourcepub fn new(value: impl AsRef<str>) -> Result<BusinessLocation, LocalValueError>
pub fn new(value: impl AsRef<str>) -> Result<BusinessLocation, LocalValueError>
Trait Implementations§
Source§impl AsRef<str> for BusinessLocation
impl AsRef<str> for BusinessLocation
Source§impl Clone for BusinessLocation
impl Clone for BusinessLocation
Source§fn clone(&self) -> BusinessLocation
fn clone(&self) -> BusinessLocation
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 BusinessLocation
impl Debug for BusinessLocation
Source§impl Display for BusinessLocation
impl Display for BusinessLocation
Source§impl FromStr for BusinessLocation
impl FromStr for BusinessLocation
Source§type Err = LocalValueError
type Err = LocalValueError
The associated error which can be returned from parsing.
Source§fn from_str(
value: &str,
) -> Result<BusinessLocation, <BusinessLocation as FromStr>::Err>
fn from_str( value: &str, ) -> Result<BusinessLocation, <BusinessLocation as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for BusinessLocation
impl Hash for BusinessLocation
Source§impl Ord for BusinessLocation
impl Ord for BusinessLocation
Source§fn cmp(&self, other: &BusinessLocation) -> Ordering
fn cmp(&self, other: &BusinessLocation) -> 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 BusinessLocation
impl PartialEq for BusinessLocation
Source§impl PartialOrd for BusinessLocation
impl PartialOrd for BusinessLocation
impl Eq for BusinessLocation
impl StructuralPartialEq for BusinessLocation
Auto Trait Implementations§
impl Freeze for BusinessLocation
impl RefUnwindSafe for BusinessLocation
impl Send for BusinessLocation
impl Sync for BusinessLocation
impl Unpin for BusinessLocation
impl UnsafeUnpin for BusinessLocation
impl UnwindSafe for BusinessLocation
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