pub struct Timezone {
pub iana_identifier: &'static str,
}
Expand description
Represents a timezone with offset (UTC) and the IANA identifier
Fields§
§iana_identifier: &'static str
IANA identifier for the timezone. For eg. Asia/Kolkata
Implementations§
Trait Implementations§
impl Copy for Timezone
impl Eq for Timezone
impl StructuralPartialEq for Timezone
Auto Trait Implementations§
impl Freeze for Timezone
impl RefUnwindSafe for Timezone
impl Send for Timezone
impl Sync for Timezone
impl Unpin for Timezone
impl UnwindSafe for Timezone
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