pub struct WebSocketError {
pub type_: WebSocketErrorType,
pub request_id: Option<String>,
/* private fields */
}
Fields§
§type_: WebSocketErrorType
§request_id: Option<String>
Trait Implementations§
Source§impl Debug for WebSocketError
impl Debug for WebSocketError
Source§impl<'de> Deserialize<'de> for WebSocketError
impl<'de> Deserialize<'de> for WebSocketError
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 From<WebSocketError> for ProblemDetails
impl From<WebSocketError> for ProblemDetails
Source§fn from(problem: WebSocketError) -> Self
fn from(problem: WebSocketError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WebSocketError
impl RefUnwindSafe for WebSocketError
impl Send for WebSocketError
impl Sync for WebSocketError
impl Unpin for WebSocketError
impl UnwindSafe for WebSocketError
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