pub enum SolanaWalletDerivationStrategy {
EntropyToMnemonicToSeed,
EntropyToSeed,
}Expand description
The derivation strategy used for Solana wallets.
JSON schema
{
"title": "SolanaWalletDerivationStrategy",
"description": "The derivation strategy used for Solana wallets.",
"type": "string",
"enum": [
"ENTROPY_TO_MNEMONIC_TO_SEED",
"ENTROPY_TO_SEED"
],
"x-stainless-model": "wallets.solana_wallet_derivation_strategy"
}Variants§
Trait Implementations§
Source§impl Clone for SolanaWalletDerivationStrategy
impl Clone for SolanaWalletDerivationStrategy
Source§fn clone(&self) -> SolanaWalletDerivationStrategy
fn clone(&self) -> SolanaWalletDerivationStrategy
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 SolanaWalletDerivationStrategy
Source§impl<'de> Deserialize<'de> for SolanaWalletDerivationStrategy
impl<'de> Deserialize<'de> for SolanaWalletDerivationStrategy
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
impl Eq for SolanaWalletDerivationStrategy
Source§impl From<&SolanaWalletDerivationStrategy> for SolanaWalletDerivationStrategy
impl From<&SolanaWalletDerivationStrategy> for SolanaWalletDerivationStrategy
Source§fn from(value: &SolanaWalletDerivationStrategy) -> Self
fn from(value: &SolanaWalletDerivationStrategy) -> Self
Converts to this type from the input type.
Source§impl Ord for SolanaWalletDerivationStrategy
impl Ord for SolanaWalletDerivationStrategy
Source§fn cmp(&self, other: &SolanaWalletDerivationStrategy) -> Ordering
fn cmp(&self, other: &SolanaWalletDerivationStrategy) -> 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 SolanaWalletDerivationStrategy
impl PartialEq for SolanaWalletDerivationStrategy
Source§fn eq(&self, other: &SolanaWalletDerivationStrategy) -> bool
fn eq(&self, other: &SolanaWalletDerivationStrategy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SolanaWalletDerivationStrategy
impl PartialOrd for SolanaWalletDerivationStrategy
impl StructuralPartialEq for SolanaWalletDerivationStrategy
Source§impl TryFrom<&String> for SolanaWalletDerivationStrategy
impl TryFrom<&String> for SolanaWalletDerivationStrategy
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for SolanaWalletDerivationStrategy
impl TryFrom<&str> for SolanaWalletDerivationStrategy
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for SolanaWalletDerivationStrategy
impl TryFrom<String> for SolanaWalletDerivationStrategy
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for SolanaWalletDerivationStrategy
impl RefUnwindSafe for SolanaWalletDerivationStrategy
impl Send for SolanaWalletDerivationStrategy
impl Sync for SolanaWalletDerivationStrategy
impl Unpin for SolanaWalletDerivationStrategy
impl UnsafeUnpin for SolanaWalletDerivationStrategy
impl UnwindSafe for SolanaWalletDerivationStrategy
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