pub struct StaffCount(/* private fields */);Expand description
Positive scalar used by daycare policy where zero would hide real staffing, pet-count, queue, or package volume.
Implementations§
Trait Implementations§
Source§impl Clone for StaffCount
impl Clone for StaffCount
Source§fn clone(&self) -> StaffCount
fn clone(&self) -> StaffCount
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 StaffCount
impl Debug for StaffCount
Source§impl<'de> Deserialize<'de> for StaffCount
impl<'de> Deserialize<'de> for StaffCount
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 Hash for StaffCount
impl Hash for StaffCount
Source§impl Ord for StaffCount
impl Ord for StaffCount
Source§fn cmp(&self, other: &StaffCount) -> Ordering
fn cmp(&self, other: &StaffCount) -> 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 StaffCount
impl PartialEq for StaffCount
Source§impl PartialOrd for StaffCount
impl PartialOrd for StaffCount
Source§impl Serialize for StaffCount
impl Serialize for StaffCount
impl Copy for StaffCount
impl Eq for StaffCount
impl StructuralPartialEq for StaffCount
Auto Trait Implementations§
impl Freeze for StaffCount
impl RefUnwindSafe for StaffCount
impl Send for StaffCount
impl Sync for StaffCount
impl Unpin for StaffCount
impl UnsafeUnpin for StaffCount
impl UnwindSafe for StaffCount
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