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