pub struct PingResponse {
pub success: bool,
pub time: i64,
pub text: String,
}
Fields§
§success: bool
§time: i64
§text: String
Trait Implementations§
Source§impl Debug for PingResponse
impl Debug for PingResponse
Source§impl<'de> Deserialize<'de> for PingResponse
impl<'de> Deserialize<'de> for PingResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PingResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PingResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PingResponse
impl RefUnwindSafe for PingResponse
impl Send for PingResponse
impl Sync for PingResponse
impl Unpin for PingResponse
impl UnwindSafe for PingResponse
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