pub struct ServerTimeResponse {
pub time: String,
}Expand description
Response wrapper for GET /v1/time.
Fields§
§time: StringCurrent server timestamp as an ISO 8601 string.
Trait Implementations§
Source§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<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
Auto Trait Implementations§
impl Freeze for ServerTimeResponse
impl RefUnwindSafe for ServerTimeResponse
impl Send for ServerTimeResponse
impl Sync for ServerTimeResponse
impl Unpin for ServerTimeResponse
impl UnsafeUnpin 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