pub struct WsOperationResponse {
pub success: bool,
pub ret_msg: Option<String>,
pub conn_id: Option<String>,
pub req_id: Option<String>,
pub op: Option<String>,
}Expand description
WebSocket response to an operation (subscribe, auth, etc.).
Fields§
§success: boolWhether the operation was successful.
ret_msg: Option<String>Response message.
conn_id: Option<String>Connection ID.
req_id: Option<String>Request ID (if provided in request).
op: Option<String>Operation that was performed.
Trait Implementations§
Source§impl Clone for WsOperationResponse
impl Clone for WsOperationResponse
Source§fn clone(&self) -> WsOperationResponse
fn clone(&self) -> WsOperationResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 WsOperationResponse
impl Debug for WsOperationResponse
Source§impl<'de> Deserialize<'de> for WsOperationResponse
impl<'de> Deserialize<'de> for WsOperationResponse
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 WsOperationResponse
impl RefUnwindSafe for WsOperationResponse
impl Send for WsOperationResponse
impl Sync for WsOperationResponse
impl Unpin for WsOperationResponse
impl UnwindSafe for WsOperationResponse
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