pub struct WsOpResponse {
pub op: Option<String>,
pub success: Option<bool>,
pub ret_msg: Option<String>,
pub conn_id: Option<String>,
pub req_id: Option<String>,
}Expand description
Operation-level response (subscribe success/error)
Fields§
§op: Option<String>“subscribe”, “unsubscribe”, “auth”, “pong”
success: Option<bool>true if operation succeeded
ret_msg: Option<String>Return message
conn_id: Option<String>Connection ID
req_id: Option<String>Request arguments echoed back
Trait Implementations§
Source§impl Clone for WsOpResponse
impl Clone for WsOpResponse
Source§fn clone(&self) -> WsOpResponse
fn clone(&self) -> WsOpResponse
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 WsOpResponse
impl Debug for WsOpResponse
Source§impl<'de> Deserialize<'de> for WsOpResponse
impl<'de> Deserialize<'de> for WsOpResponse
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 WsOpResponse
impl RefUnwindSafe for WsOpResponse
impl Send for WsOpResponse
impl Sync for WsOpResponse
impl Unpin for WsOpResponse
impl UnsafeUnpin for WsOpResponse
impl UnwindSafe for WsOpResponse
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