pub struct WalletFundsErc20Asset {
pub address: String,
pub type_: WalletFundsErc20AssetType,
}Expand description
An ERC-20 token asset.
JSON schema
{
"title": "WalletFundsErc20Asset",
"description": "An ERC-20 token asset.",
"type": "object",
"required": [
"address",
"type"
],
"properties": {
"address": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"erc20"
]
}
},
"x-stainless-model": "webhooks.wallet_funds_erc_20_asset"
}Fields§
§address: String§type_: WalletFundsErc20AssetTypeTrait Implementations§
Source§impl Clone for WalletFundsErc20Asset
impl Clone for WalletFundsErc20Asset
Source§fn clone(&self) -> WalletFundsErc20Asset
fn clone(&self) -> WalletFundsErc20Asset
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 WalletFundsErc20Asset
impl Debug for WalletFundsErc20Asset
Source§impl<'de> Deserialize<'de> for WalletFundsErc20Asset
impl<'de> Deserialize<'de> for WalletFundsErc20Asset
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<&WalletFundsErc20Asset> for WalletFundsErc20Asset
impl From<&WalletFundsErc20Asset> for WalletFundsErc20Asset
Source§fn from(value: &WalletFundsErc20Asset) -> Self
fn from(value: &WalletFundsErc20Asset) -> Self
Converts to this type from the input type.
Source§impl From<WalletFundsErc20Asset> for WalletFundsAsset
impl From<WalletFundsErc20Asset> for WalletFundsAsset
Source§fn from(value: WalletFundsErc20Asset) -> Self
fn from(value: WalletFundsErc20Asset) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WalletFundsErc20Asset
impl RefUnwindSafe for WalletFundsErc20Asset
impl Send for WalletFundsErc20Asset
impl Sync for WalletFundsErc20Asset
impl Unpin for WalletFundsErc20Asset
impl UnsafeUnpin for WalletFundsErc20Asset
impl UnwindSafe for WalletFundsErc20Asset
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