pub struct NodesTimeSetTimezoneRequest {
pub timezone: String,
}Fields§
§timezone: StringTime zone. The file ‘/usr/share/zoneinfo/zone.tab’ contains the list of valid names.
Implementations§
Source§impl NodesTimeSetTimezoneRequest
impl NodesTimeSetTimezoneRequest
pub fn new(timezone: String) -> NodesTimeSetTimezoneRequest
Trait Implementations§
Source§impl Clone for NodesTimeSetTimezoneRequest
impl Clone for NodesTimeSetTimezoneRequest
Source§fn clone(&self) -> NodesTimeSetTimezoneRequest
fn clone(&self) -> NodesTimeSetTimezoneRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NodesTimeSetTimezoneRequest
impl Debug for NodesTimeSetTimezoneRequest
Source§impl Default for NodesTimeSetTimezoneRequest
impl Default for NodesTimeSetTimezoneRequest
Source§fn default() -> NodesTimeSetTimezoneRequest
fn default() -> NodesTimeSetTimezoneRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodesTimeSetTimezoneRequest
impl<'de> Deserialize<'de> for NodesTimeSetTimezoneRequest
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
Source§impl PartialEq for NodesTimeSetTimezoneRequest
impl PartialEq for NodesTimeSetTimezoneRequest
Source§fn eq(&self, other: &NodesTimeSetTimezoneRequest) -> bool
fn eq(&self, other: &NodesTimeSetTimezoneRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NodesTimeSetTimezoneRequest
Auto Trait Implementations§
impl Freeze for NodesTimeSetTimezoneRequest
impl RefUnwindSafe for NodesTimeSetTimezoneRequest
impl Send for NodesTimeSetTimezoneRequest
impl Sync for NodesTimeSetTimezoneRequest
impl Unpin for NodesTimeSetTimezoneRequest
impl UnsafeUnpin for NodesTimeSetTimezoneRequest
impl UnwindSafe for NodesTimeSetTimezoneRequest
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