pub struct DepositDestinationCrypto {
pub address: BlockchainAddress,
pub network: Network,
}Expand description
Crypto-specific deposit destination details. In responses, this object is always present. Contains the network and address for the deposit destination.
JSON schema
{
"description": "Crypto-specific deposit destination details. In responses, this object is always present. Contains the network and address for the deposit destination.",
"examples": [
{
"address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
"network": "base"
}
],
"type": "object",
"required": [
"address",
"network"
],
"properties": {
"address": {
"$ref": "#/components/schemas/BlockchainAddress"
},
"network": {
"$ref": "#/components/schemas/Network"
}
}
}Fields§
§address: BlockchainAddress§network: NetworkImplementations§
Source§impl DepositDestinationCrypto
impl DepositDestinationCrypto
pub fn builder() -> DepositDestinationCrypto
Trait Implementations§
Source§impl Clone for DepositDestinationCrypto
impl Clone for DepositDestinationCrypto
Source§fn clone(&self) -> DepositDestinationCrypto
fn clone(&self) -> DepositDestinationCrypto
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 DepositDestinationCrypto
impl Debug for DepositDestinationCrypto
Source§impl<'de> Deserialize<'de> for DepositDestinationCrypto
impl<'de> Deserialize<'de> for DepositDestinationCrypto
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<&DepositDestinationCrypto> for DepositDestinationCrypto
impl From<&DepositDestinationCrypto> for DepositDestinationCrypto
Source§fn from(value: &DepositDestinationCrypto) -> Self
fn from(value: &DepositDestinationCrypto) -> Self
Converts to this type from the input type.
Source§impl From<DepositDestinationCrypto> for DepositDestinationCrypto
impl From<DepositDestinationCrypto> for DepositDestinationCrypto
Source§fn from(value: DepositDestinationCrypto) -> Self
fn from(value: DepositDestinationCrypto) -> Self
Converts to this type from the input type.
Source§impl Serialize for DepositDestinationCrypto
impl Serialize for DepositDestinationCrypto
Source§impl TryFrom<DepositDestinationCrypto> for DepositDestinationCrypto
impl TryFrom<DepositDestinationCrypto> for DepositDestinationCrypto
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: DepositDestinationCrypto) -> Result<Self, ConversionError>
fn try_from(value: DepositDestinationCrypto) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for DepositDestinationCrypto
impl RefUnwindSafe for DepositDestinationCrypto
impl Send for DepositDestinationCrypto
impl Sync for DepositDestinationCrypto
impl Unpin for DepositDestinationCrypto
impl UnsafeUnpin for DepositDestinationCrypto
impl UnwindSafe for DepositDestinationCrypto
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