pub enum DepositDestinationTarget {
Account(DepositDestinationTargetAccount),
OnchainAddress(DepositDestinationTargetOnchainAddress),
}Expand description
The intended target for deposited funds.
JSON schema
{
"description": "The intended target for deposited funds.",
"oneOf": [
{
"$ref": "#/components/schemas/DepositDestinationTargetAccount"
},
{
"$ref": "#/components/schemas/DepositDestinationTargetOnchainAddress"
}
]
}Variants§
Account(DepositDestinationTargetAccount)
OnchainAddress(DepositDestinationTargetOnchainAddress)
Trait Implementations§
Source§impl Clone for DepositDestinationTarget
impl Clone for DepositDestinationTarget
Source§impl Debug for DepositDestinationTarget
impl Debug for DepositDestinationTarget
Source§impl<'de> Deserialize<'de> for DepositDestinationTarget
impl<'de> Deserialize<'de> for DepositDestinationTarget
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<&DepositDestinationTarget> for DepositDestinationTarget
impl From<&DepositDestinationTarget> for DepositDestinationTarget
Source§fn from(value: &DepositDestinationTarget) -> Self
fn from(value: &DepositDestinationTarget) -> Self
Converts to this type from the input type.
Source§impl From<DepositDestinationTargetAccount> for DepositDestinationTarget
impl From<DepositDestinationTargetAccount> for DepositDestinationTarget
Source§fn from(value: DepositDestinationTargetAccount) -> Self
fn from(value: DepositDestinationTargetAccount) -> Self
Converts to this type from the input type.
Source§impl From<DepositDestinationTargetOnchainAddress> for DepositDestinationTarget
impl From<DepositDestinationTargetOnchainAddress> for DepositDestinationTarget
Source§fn from(value: DepositDestinationTargetOnchainAddress) -> Self
fn from(value: DepositDestinationTargetOnchainAddress) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DepositDestinationTarget
impl RefUnwindSafe for DepositDestinationTarget
impl Send for DepositDestinationTarget
impl Sync for DepositDestinationTarget
impl Unpin for DepositDestinationTarget
impl UnsafeUnpin for DepositDestinationTarget
impl UnwindSafe for DepositDestinationTarget
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