pub struct ResponseErrorEvent {
pub type: String,
pub code: Option<String>,
pub message: String,
pub param: Option<String>,
}
Expand description
Emitted when an error occurs.
Fields§
§type: String
The type of the event.
code: Option<String>
The error code.
message: String
The error message.
param: Option<String>
The error parameter.
Trait Implementations§
Source§impl Clone for ResponseErrorEvent
impl Clone for ResponseErrorEvent
Source§fn clone(&self) -> ResponseErrorEvent
fn clone(&self) -> ResponseErrorEvent
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 ResponseErrorEvent
impl Debug for ResponseErrorEvent
Source§impl Default for ResponseErrorEvent
impl Default for ResponseErrorEvent
Source§fn default() -> ResponseErrorEvent
fn default() -> ResponseErrorEvent
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ResponseErrorEvent
impl RefUnwindSafe for ResponseErrorEvent
impl Send for ResponseErrorEvent
impl Sync for ResponseErrorEvent
impl Unpin for ResponseErrorEvent
impl UnwindSafe for ResponseErrorEvent
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