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