pub struct Zone {
pub sign: Sign,
pub hours: u8,
pub minutes: u8,
pub seconds: u8,
}
Fields§
§sign: Sign
§hours: u8
§minutes: u8
§seconds: u8
Implementations§
Trait Implementations§
source§impl Ord for Zone
impl Ord for Zone
source§impl PartialEq for Zone
impl PartialEq for Zone
source§impl PartialOrd for Zone
impl PartialOrd for Zone
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 Zone
impl Eq for Zone
impl StructuralPartialEq for Zone
Auto Trait Implementations§
impl Freeze for Zone
impl RefUnwindSafe for Zone
impl Send for Zone
impl Sync for Zone
impl Unpin for Zone
impl UnwindSafe for Zone
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