pub struct DepositDestination(pub CryptoDepositDestination);Expand description
A deposit destination for receiving funds to an account.
JSON schema
{
"description": "A deposit destination for receiving funds to an account.",
"oneOf": [
{
"$ref": "#/components/schemas/CryptoDepositDestination"
}
]
}Tuple Fields§
§0: CryptoDepositDestinationTrait Implementations§
Source§impl Clone for DepositDestination
impl Clone for DepositDestination
Source§fn clone(&self) -> DepositDestination
fn clone(&self) -> DepositDestination
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 DepositDestination
impl Debug for DepositDestination
Source§impl Deref for DepositDestination
impl Deref for DepositDestination
Source§type Target = CryptoDepositDestination
type Target = CryptoDepositDestination
The resulting type after dereferencing.
Source§fn deref(&self) -> &CryptoDepositDestination
fn deref(&self) -> &CryptoDepositDestination
Dereferences the value.
Source§impl<'de> Deserialize<'de> for DepositDestination
impl<'de> Deserialize<'de> for DepositDestination
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 From<&DepositDestination> for DepositDestination
impl From<&DepositDestination> for DepositDestination
Source§fn from(value: &DepositDestination) -> Self
fn from(value: &DepositDestination) -> Self
Converts to this type from the input type.
Source§impl From<CryptoDepositDestination> for DepositDestination
impl From<CryptoDepositDestination> for DepositDestination
Source§fn from(value: CryptoDepositDestination) -> Self
fn from(value: CryptoDepositDestination) -> Self
Converts to this type from the input type.
Source§impl From<DepositDestination> for CryptoDepositDestination
impl From<DepositDestination> for CryptoDepositDestination
Source§fn from(value: DepositDestination) -> Self
fn from(value: DepositDestination) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DepositDestination
impl RefUnwindSafe for DepositDestination
impl Send for DepositDestination
impl Sync for DepositDestination
impl Unpin for DepositDestination
impl UnsafeUnpin for DepositDestination
impl UnwindSafe for DepositDestination
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