pub struct DurationWeeks(/* private fields */);Expand description
Positive number of weeks in a Stay-and-Study or other multi-week training program.
Implementations§
Trait Implementations§
Source§impl Clone for DurationWeeks
impl Clone for DurationWeeks
Source§fn clone(&self) -> DurationWeeks
fn clone(&self) -> DurationWeeks
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 DurationWeeks
impl Debug for DurationWeeks
Source§impl<'de> Deserialize<'de> for DurationWeeks
impl<'de> Deserialize<'de> for DurationWeeks
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 DurationWeeks
impl Hash for DurationWeeks
Source§impl Ord for DurationWeeks
impl Ord for DurationWeeks
Source§fn cmp(&self, other: &DurationWeeks) -> Ordering
fn cmp(&self, other: &DurationWeeks) -> 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 DurationWeeks
impl PartialEq for DurationWeeks
Source§impl PartialOrd for DurationWeeks
impl PartialOrd for DurationWeeks
Source§impl Serialize for DurationWeeks
impl Serialize for DurationWeeks
impl Copy for DurationWeeks
impl Eq for DurationWeeks
impl StructuralPartialEq for DurationWeeks
Auto Trait Implementations§
impl Freeze for DurationWeeks
impl RefUnwindSafe for DurationWeeks
impl Send for DurationWeeks
impl Sync for DurationWeeks
impl Unpin for DurationWeeks
impl UnsafeUnpin for DurationWeeks
impl UnwindSafe for DurationWeeks
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