Enum square_api_client::models::enums::LocationStatus
source · [−]pub enum LocationStatus {
Active,
Inactive,
}
Expand description
A location’s status.
Variants
Active
A location that is active for business.
Inactive
A location that is not active for business. Inactive locations provide historical information. Hide inactive locations unless the user has requested to see them.
Trait Implementations
sourceimpl Clone for LocationStatus
impl Clone for LocationStatus
sourcefn clone(&self) -> LocationStatus
fn clone(&self) -> LocationStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for LocationStatus
impl Debug for LocationStatus
sourceimpl<'de> Deserialize<'de> for LocationStatus
impl<'de> Deserialize<'de> for LocationStatus
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<LocationStatus> for LocationStatus
impl PartialEq<LocationStatus> for LocationStatus
sourcefn eq(&self, other: &LocationStatus) -> bool
fn eq(&self, other: &LocationStatus) -> bool
sourceimpl Serialize for LocationStatus
impl Serialize for LocationStatus
impl Eq for LocationStatus
impl StructuralEq for LocationStatus
impl StructuralPartialEq for LocationStatus
Auto Trait Implementations
impl RefUnwindSafe for LocationStatus
impl Send for LocationStatus
impl Sync for LocationStatus
impl Unpin for LocationStatus
impl UnwindSafe for LocationStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.