pub enum ShiftStatus {
Open,
Closed,
}Expand description
ShiftStatus : Enumerates the possible status of a Shift. Deprecated at Square API version 2025-05-21. See the migration notes.
Enumerates the possible status of a Shift. Deprecated at Square API version 2025-05-21. See the migration notes.
Variants§
Trait Implementations§
Source§impl Clone for ShiftStatus
impl Clone for ShiftStatus
Source§fn clone(&self) -> ShiftStatus
fn clone(&self) -> ShiftStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ShiftStatus
Source§impl Debug for ShiftStatus
impl Debug for ShiftStatus
Source§impl Default for ShiftStatus
impl Default for ShiftStatus
Source§fn default() -> ShiftStatus
fn default() -> ShiftStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ShiftStatus
impl<'de> Deserialize<'de> for ShiftStatus
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 Display for ShiftStatus
impl Display for ShiftStatus
impl Eq for ShiftStatus
Source§impl Hash for ShiftStatus
impl Hash for ShiftStatus
Source§impl Ord for ShiftStatus
impl Ord for ShiftStatus
Source§fn cmp(&self, other: &ShiftStatus) -> Ordering
fn cmp(&self, other: &ShiftStatus) -> Ordering
1.21.0 (const: unstable) · 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 ShiftStatus
impl PartialEq for ShiftStatus
Source§impl PartialOrd for ShiftStatus
impl PartialOrd for ShiftStatus
Source§impl Serialize for ShiftStatus
impl Serialize for ShiftStatus
impl StructuralPartialEq for ShiftStatus
Auto Trait Implementations§
impl Freeze for ShiftStatus
impl RefUnwindSafe for ShiftStatus
impl Send for ShiftStatus
impl Sync for ShiftStatus
impl Unpin for ShiftStatus
impl UnsafeUnpin for ShiftStatus
impl UnwindSafe for ShiftStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.