pub struct TimezoneConfig {
pub tz: Tz,
pub is_utc: bool,
}Expand description
Configuration for timezone handling
Fields§
§tz: TzThe timezone to use for date operations
is_utc: boolWhether the timezone is UTC
Implementations§
Trait Implementations§
Source§impl Clone for TimezoneConfig
impl Clone for TimezoneConfig
Source§fn clone(&self) -> TimezoneConfig
fn clone(&self) -> TimezoneConfig
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 TimezoneConfig
impl Debug for TimezoneConfig
Auto Trait Implementations§
impl Freeze for TimezoneConfig
impl RefUnwindSafe for TimezoneConfig
impl Send for TimezoneConfig
impl Sync for TimezoneConfig
impl Unpin for TimezoneConfig
impl UnsafeUnpin for TimezoneConfig
impl UnwindSafe for TimezoneConfig
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