pub struct ServerTimeResponse {
pub timestamp: i64,
}Expand description
Server time response
Fields§
§timestamp: i64Current server timestamp in milliseconds
Trait Implementations§
Source§impl Clone for ServerTimeResponse
impl Clone for ServerTimeResponse
Source§fn clone(&self) -> ServerTimeResponse
fn clone(&self) -> ServerTimeResponse
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 ServerTimeResponse
impl Debug for ServerTimeResponse
Source§impl<'de> Deserialize<'de> for ServerTimeResponse
impl<'de> Deserialize<'de> for ServerTimeResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ServerTimeResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ServerTimeResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ServerTimeResponse
impl Display for ServerTimeResponse
Source§impl Serialize for ServerTimeResponse
impl Serialize for ServerTimeResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ServerTimeResponse
impl RefUnwindSafe for ServerTimeResponse
impl Send for ServerTimeResponse
impl Sync for ServerTimeResponse
impl Unpin for ServerTimeResponse
impl UnwindSafe for ServerTimeResponse
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