pub struct OpResponse<'a> {
pub success: bool,
pub ret_msg: &'a str,
pub conn_id: &'a str,
pub req_id: Option<&'a str>,
pub op: &'a str,
}Expand description
The pong/subscription response.
Fields§
§success: bool§ret_msg: &'a str§conn_id: &'a str§req_id: Option<&'a str>§op: &'a strTrait Implementations§
Source§impl<'a> Debug for OpResponse<'a>
impl<'a> Debug for OpResponse<'a>
Source§impl<'de: 'a, 'a> Deserialize<'de> for OpResponse<'a>
impl<'de: 'a, 'a> Deserialize<'de> for OpResponse<'a>
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<'a> Freeze for OpResponse<'a>
impl<'a> RefUnwindSafe for OpResponse<'a>
impl<'a> Send for OpResponse<'a>
impl<'a> Sync for OpResponse<'a>
impl<'a> Unpin for OpResponse<'a>
impl<'a> UnwindSafe for OpResponse<'a>
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