pub struct Uptime {
pub hours: u128,
pub minutes: u8,
pub seconds: u8,
}Fields§
§hours: u128§minutes: u8§seconds: u8Trait Implementations§
source§impl Ord for Uptime
impl Ord for Uptime
source§impl PartialEq for Uptime
impl PartialEq for Uptime
source§impl PartialOrd for Uptime
impl PartialOrd for Uptime
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for Uptime
impl Eq for Uptime
impl StructuralEq for Uptime
impl StructuralPartialEq for Uptime
Auto Trait Implementations§
impl RefUnwindSafe for Uptime
impl Send for Uptime
impl Sync for Uptime
impl Unpin for Uptime
impl UnwindSafe for Uptime
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