pub struct SchemasBaseError {
pub status_code: i32,
pub error_code: String,
pub message: Box<BaseErrorMessage>,
pub response_id: Option<String>,
}Fields§
§status_code: i32§error_code: String§message: Box<BaseErrorMessage>§response_id: Option<String>Implementations§
Source§impl SchemasBaseError
impl SchemasBaseError
pub fn new( status_code: i32, error_code: String, message: BaseErrorMessage, ) -> SchemasBaseError
Trait Implementations§
Source§impl Clone for SchemasBaseError
impl Clone for SchemasBaseError
Source§fn clone(&self) -> SchemasBaseError
fn clone(&self) -> SchemasBaseError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SchemasBaseError
impl Debug for SchemasBaseError
Source§impl Default for SchemasBaseError
impl Default for SchemasBaseError
Source§fn default() -> SchemasBaseError
fn default() -> SchemasBaseError
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SchemasBaseError
impl<'de> Deserialize<'de> for SchemasBaseError
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 SchemasBaseError
impl PartialEq for SchemasBaseError
Source§fn eq(&self, other: &SchemasBaseError) -> bool
fn eq(&self, other: &SchemasBaseError) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SchemasBaseError
impl Serialize for SchemasBaseError
impl StructuralPartialEq for SchemasBaseError
Auto Trait Implementations§
impl Freeze for SchemasBaseError
impl RefUnwindSafe for SchemasBaseError
impl Send for SchemasBaseError
impl Sync for SchemasBaseError
impl Unpin for SchemasBaseError
impl UnsafeUnpin for SchemasBaseError
impl UnwindSafe for SchemasBaseError
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