pub struct PingGetPingResponseData {
pub pong: bool,
}Fields§
§pong: boolAlways true
Implementations§
Source§impl PingGetPingResponseData
impl PingGetPingResponseData
pub fn new(pong: bool) -> PingGetPingResponseData
Trait Implementations§
Source§impl Clone for PingGetPingResponseData
impl Clone for PingGetPingResponseData
Source§fn clone(&self) -> PingGetPingResponseData
fn clone(&self) -> PingGetPingResponseData
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 PingGetPingResponseData
impl Debug for PingGetPingResponseData
Source§impl Default for PingGetPingResponseData
impl Default for PingGetPingResponseData
Source§fn default() -> PingGetPingResponseData
fn default() -> PingGetPingResponseData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PingGetPingResponseData
impl<'de> Deserialize<'de> for PingGetPingResponseData
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 PingGetPingResponseData
impl PartialEq for PingGetPingResponseData
Source§fn eq(&self, other: &PingGetPingResponseData) -> bool
fn eq(&self, other: &PingGetPingResponseData) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PingGetPingResponseData
impl Serialize for PingGetPingResponseData
impl StructuralPartialEq for PingGetPingResponseData
Auto Trait Implementations§
impl Freeze for PingGetPingResponseData
impl RefUnwindSafe for PingGetPingResponseData
impl Send for PingGetPingResponseData
impl Sync for PingGetPingResponseData
impl Unpin for PingGetPingResponseData
impl UnsafeUnpin for PingGetPingResponseData
impl UnwindSafe for PingGetPingResponseData
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