pub enum CustodialWalletChainType {
Ethereum,
Solana,
}Expand description
The chain type of the custodial wallet.
JSON schema
{
"title": "CustodialWalletChainType",
"description": "The chain type of the custodial wallet.",
"type": "string",
"enum": [
"ethereum",
"solana"
],
"x-stainless-model": "wallets.custodial_wallet_chain_type"
}Variants§
Trait Implementations§
Source§impl Clone for CustodialWalletChainType
impl Clone for CustodialWalletChainType
Source§fn clone(&self) -> CustodialWalletChainType
fn clone(&self) -> CustodialWalletChainType
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 moreimpl Copy for CustodialWalletChainType
Source§impl Debug for CustodialWalletChainType
impl Debug for CustodialWalletChainType
Source§impl<'de> Deserialize<'de> for CustodialWalletChainType
impl<'de> Deserialize<'de> for CustodialWalletChainType
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 Display for CustodialWalletChainType
impl Display for CustodialWalletChainType
impl Eq for CustodialWalletChainType
Source§impl From<&CustodialWalletChainType> for CustodialWalletChainType
impl From<&CustodialWalletChainType> for CustodialWalletChainType
Source§fn from(value: &CustodialWalletChainType) -> Self
fn from(value: &CustodialWalletChainType) -> Self
Converts to this type from the input type.
Source§impl FromStr for CustodialWalletChainType
impl FromStr for CustodialWalletChainType
Source§impl Hash for CustodialWalletChainType
impl Hash for CustodialWalletChainType
Source§impl Ord for CustodialWalletChainType
impl Ord for CustodialWalletChainType
Source§fn cmp(&self, other: &CustodialWalletChainType) -> Ordering
fn cmp(&self, other: &CustodialWalletChainType) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CustodialWalletChainType
impl PartialEq for CustodialWalletChainType
Source§fn eq(&self, other: &CustodialWalletChainType) -> bool
fn eq(&self, other: &CustodialWalletChainType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CustodialWalletChainType
impl PartialOrd for CustodialWalletChainType
Source§impl Serialize for CustodialWalletChainType
impl Serialize for CustodialWalletChainType
impl StructuralPartialEq for CustodialWalletChainType
Source§impl TryFrom<&String> for CustodialWalletChainType
impl TryFrom<&String> for CustodialWalletChainType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for CustodialWalletChainType
impl TryFrom<&str> for CustodialWalletChainType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for CustodialWalletChainType
impl TryFrom<String> for CustodialWalletChainType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for CustodialWalletChainType
impl RefUnwindSafe for CustodialWalletChainType
impl Send for CustodialWalletChainType
impl Sync for CustodialWalletChainType
impl Unpin for CustodialWalletChainType
impl UnsafeUnpin for CustodialWalletChainType
impl UnwindSafe for CustodialWalletChainType
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