pub struct PackageVisits(/* private fields */);Expand description
Positive daycare quantity used where zero would hide real staffing, pet-count, queue, or package volume.
Implementations§
Source§impl PackageVisits
impl PackageVisits
Sourcepub const fn try_new(value: u16) -> Result<Self, PackageVisitsError>
pub const fn try_new(value: u16) -> Result<Self, PackageVisitsError>
Rejects impossible daycare counts before they affect group-play capacity, staffing ratios, eligibility queues, or package balances.
Trait Implementations§
Source§impl Clone for PackageVisits
impl Clone for PackageVisits
Source§fn clone(&self) -> PackageVisits
fn clone(&self) -> PackageVisits
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 PackageVisits
impl Debug for PackageVisits
Source§impl<'de> Deserialize<'de> for PackageVisits
impl<'de> Deserialize<'de> for PackageVisits
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 PackageVisits
impl Hash for PackageVisits
Source§impl Ord for PackageVisits
impl Ord for PackageVisits
Source§fn cmp(&self, other: &PackageVisits) -> Ordering
fn cmp(&self, other: &PackageVisits) -> 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 PackageVisits
impl PartialEq for PackageVisits
Source§impl PartialOrd for PackageVisits
impl PartialOrd for PackageVisits
Source§impl Serialize for PackageVisits
impl Serialize for PackageVisits
impl Copy for PackageVisits
impl Eq for PackageVisits
impl StructuralPartialEq for PackageVisits
Auto Trait Implementations§
impl Freeze for PackageVisits
impl RefUnwindSafe for PackageVisits
impl Send for PackageVisits
impl Sync for PackageVisits
impl Unpin for PackageVisits
impl UnsafeUnpin for PackageVisits
impl UnwindSafe for PackageVisits
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