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§
source§impl Clone for LocationStatus
impl Clone for LocationStatus
source§fn clone(&self) -> LocationStatus
fn clone(&self) -> LocationStatus
Returns a copy 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 LocationStatus
impl Debug for LocationStatus
source§impl<'de> Deserialize<'de> for LocationStatus
impl<'de> Deserialize<'de> for LocationStatus
source§fn 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
source§impl PartialEq<LocationStatus> for LocationStatus
impl PartialEq<LocationStatus> for LocationStatus
source§fn eq(&self, other: &LocationStatus) -> bool
fn eq(&self, other: &LocationStatus) -> bool
source§impl 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§
source§impl<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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.