pub struct AssetBadRequestErrorResponse {
pub message: String,
pub code: String,
}
Fields§
§message: String
Bad request error code
code: String
Error code
Implementations§
Source§impl AssetBadRequestErrorResponse
impl AssetBadRequestErrorResponse
pub fn new(message: String, code: String) -> AssetBadRequestErrorResponse
Trait Implementations§
Source§impl Clone for AssetBadRequestErrorResponse
impl Clone for AssetBadRequestErrorResponse
Source§fn clone(&self) -> AssetBadRequestErrorResponse
fn clone(&self) -> AssetBadRequestErrorResponse
Returns a copy 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 AssetBadRequestErrorResponse
impl Debug for AssetBadRequestErrorResponse
Source§impl Default for AssetBadRequestErrorResponse
impl Default for AssetBadRequestErrorResponse
Source§fn default() -> AssetBadRequestErrorResponse
fn default() -> AssetBadRequestErrorResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AssetBadRequestErrorResponse
impl<'de> Deserialize<'de> for AssetBadRequestErrorResponse
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 AssetBadRequestErrorResponse
impl PartialEq for AssetBadRequestErrorResponse
Source§fn eq(&self, other: &AssetBadRequestErrorResponse) -> bool
fn eq(&self, other: &AssetBadRequestErrorResponse) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AssetBadRequestErrorResponse
Auto Trait Implementations§
impl Freeze for AssetBadRequestErrorResponse
impl RefUnwindSafe for AssetBadRequestErrorResponse
impl Send for AssetBadRequestErrorResponse
impl Sync for AssetBadRequestErrorResponse
impl Unpin for AssetBadRequestErrorResponse
impl UnwindSafe for AssetBadRequestErrorResponse
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