#[repr(transparent)]pub struct NaïveMinutes(pub i64);Expand description
Minutes (without accounting for leap seconds)
Tuple Fields§
§0: i64Trait Implementations§
Source§impl Clone for NaïveMinutes
impl Clone for NaïveMinutes
Source§fn clone(&self) -> NaïveMinutes
fn clone(&self) -> NaïveMinutes
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 NaïveMinutes
impl Debug for NaïveMinutes
Source§impl Display for NaïveMinutes
impl Display for NaïveMinutes
Source§impl Hash for NaïveMinutes
impl Hash for NaïveMinutes
Source§impl Ord for NaïveMinutes
impl Ord for NaïveMinutes
Source§fn cmp(&self, other: &NaïveMinutes) -> Ordering
fn cmp(&self, other: &NaïveMinutes) -> 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 NaïveMinutes
impl PartialEq for NaïveMinutes
Source§impl PartialOrd for NaïveMinutes
impl PartialOrd for NaïveMinutes
impl Copy for NaïveMinutes
impl Eq for NaïveMinutes
impl StructuralPartialEq for NaïveMinutes
Auto Trait Implementations§
impl Freeze for NaïveMinutes
impl RefUnwindSafe for NaïveMinutes
impl Send for NaïveMinutes
impl Sync for NaïveMinutes
impl Unpin for NaïveMinutes
impl UnwindSafe for NaïveMinutes
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