pub struct WsPong {
pub success: Option<bool>,
pub ret_msg: Option<String>,
pub conn_id: Option<String>,
pub req_id: Option<String>,
pub op: Option<String>,
}Expand description
WebSocket pong response.
Fields§
§success: Option<bool>Success flag
ret_msg: Option<String>Return message
conn_id: Option<String>Connection ID
req_id: Option<String>Request ID
op: Option<String>Operation type
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WsPong
impl<'de> Deserialize<'de> for WsPong
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 WsPong
impl RefUnwindSafe for WsPong
impl Send for WsPong
impl Sync for WsPong
impl Unpin for WsPong
impl UnsafeUnpin for WsPong
impl UnwindSafe for WsPong
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