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