pub struct Timezone {
pub use_automatic_timezone: Option<bool>,
pub manual_timezone: Option<String>,
pub automatic_timezone: Option<String>,
}
Fields§
§use_automatic_timezone: Option<bool>
Set to "true" to use the browser/system timezone, "false" to set manually. Defaults to "true".
manual_timezone: Option<String>
Value when setting manually the timezone, i.e. "Europe/Berlin".
automatic_timezone: Option<String>
This value is set automatically when the "useAutomaticTimezone" is set to "true".
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Timezone
impl<'de> Deserialize<'de> for Timezone
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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