pub struct ResponseErrorEvent {
pub type: Option<Type>,
pub created_at: Option<String>,
pub message: String,
pub code: i32,
}Fields§
§type: Option<Type>§created_at: Option<String>§message: String§code: i32Implementations§
Source§impl ResponseErrorEvent
impl ResponseErrorEvent
pub fn new(message: String, code: i32) -> ResponseErrorEvent
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
Source§impl<'de> Deserialize<'de> for ResponseErrorEvent
impl<'de> Deserialize<'de> for ResponseErrorEvent
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 PartialEq for ResponseErrorEvent
impl PartialEq for ResponseErrorEvent
Source§impl Serialize for ResponseErrorEvent
impl Serialize for ResponseErrorEvent
impl StructuralPartialEq for ResponseErrorEvent
Auto Trait Implementations§
impl Freeze for ResponseErrorEvent
impl RefUnwindSafe for ResponseErrorEvent
impl Send for ResponseErrorEvent
impl Sync for ResponseErrorEvent
impl Unpin for ResponseErrorEvent
impl UnsafeUnpin 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