pub enum WalletFundsAsset {
NativeTokenAsset(WalletFundsNativeTokenAsset),
Erc20Asset(WalletFundsErc20Asset),
SplAsset(WalletFundsSplAsset),
SacAsset(WalletFundsSacAsset),
}Expand description
An asset involved in a wallet transfer.
JSON schema
{
"title": "WalletFundsAsset",
"description": "An asset involved in a wallet transfer.",
"oneOf": [
{
"$ref": "#/components/schemas/WalletFundsNativeTokenAsset"
},
{
"$ref": "#/components/schemas/WalletFundsErc20Asset"
},
{
"$ref": "#/components/schemas/WalletFundsSplAsset"
},
{
"$ref": "#/components/schemas/WalletFundsSacAsset"
}
],
"x-stainless-model": "webhooks.wallet_funds_asset"
}Variants§
NativeTokenAsset(WalletFundsNativeTokenAsset)
Erc20Asset(WalletFundsErc20Asset)
SplAsset(WalletFundsSplAsset)
SacAsset(WalletFundsSacAsset)
Trait Implementations§
Source§impl Clone for WalletFundsAsset
impl Clone for WalletFundsAsset
Source§fn clone(&self) -> WalletFundsAsset
fn clone(&self) -> WalletFundsAsset
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 WalletFundsAsset
impl Debug for WalletFundsAsset
Source§impl<'de> Deserialize<'de> for WalletFundsAsset
impl<'de> Deserialize<'de> for WalletFundsAsset
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<&WalletFundsAsset> for WalletFundsAsset
impl From<&WalletFundsAsset> for WalletFundsAsset
Source§fn from(value: &WalletFundsAsset) -> Self
fn from(value: &WalletFundsAsset) -> 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.
Source§impl From<WalletFundsNativeTokenAsset> for WalletFundsAsset
impl From<WalletFundsNativeTokenAsset> for WalletFundsAsset
Source§fn from(value: WalletFundsNativeTokenAsset) -> Self
fn from(value: WalletFundsNativeTokenAsset) -> Self
Converts to this type from the input type.
Source§impl From<WalletFundsSacAsset> for WalletFundsAsset
impl From<WalletFundsSacAsset> for WalletFundsAsset
Source§fn from(value: WalletFundsSacAsset) -> Self
fn from(value: WalletFundsSacAsset) -> Self
Converts to this type from the input type.
Source§impl From<WalletFundsSplAsset> for WalletFundsAsset
impl From<WalletFundsSplAsset> for WalletFundsAsset
Source§fn from(value: WalletFundsSplAsset) -> Self
fn from(value: WalletFundsSplAsset) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WalletFundsAsset
impl RefUnwindSafe for WalletFundsAsset
impl Send for WalletFundsAsset
impl Sync for WalletFundsAsset
impl Unpin for WalletFundsAsset
impl UnsafeUnpin for WalletFundsAsset
impl UnwindSafe for WalletFundsAsset
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