Enum soroban_env_guest::xdr::next::MuxedAccount
pub enum MuxedAccount {
Ed25519(Uint256),
MuxedEd25519(MuxedAccountMed25519),
}
Variants§
Ed25519(Uint256)
MuxedEd25519(MuxedAccountMed25519)
Implementations§
§impl MuxedAccount
impl MuxedAccount
pub const VARIANTS: [CryptoKeyType; 2] = [CryptoKeyType::Ed25519, CryptoKeyType::MuxedEd25519]
pub const VARIANTS_STR: [&'static str; 2] = ["Ed25519", "MuxedEd25519"]
pub const fn name(&self) -> &'static str
pub const fn discriminant(&self) -> CryptoKeyType
pub const fn variants() -> [CryptoKeyType; 2]
Trait Implementations§
§impl Clone for MuxedAccount
impl Clone for MuxedAccount
§fn clone(&self) -> MuxedAccount
fn clone(&self) -> MuxedAccount
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for MuxedAccount
impl Debug for MuxedAccount
§impl Discriminant<CryptoKeyType> for MuxedAccount
impl Discriminant<CryptoKeyType> for MuxedAccount
fn discriminant(&self) -> CryptoKeyType
§impl Hash for MuxedAccount
impl Hash for MuxedAccount
§impl Ord for MuxedAccount
impl Ord for MuxedAccount
§impl PartialEq<MuxedAccount> for MuxedAccount
impl PartialEq<MuxedAccount> for MuxedAccount
§fn eq(&self, other: &MuxedAccount) -> bool
fn eq(&self, other: &MuxedAccount) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd<MuxedAccount> for MuxedAccount
impl PartialOrd<MuxedAccount> for MuxedAccount
§fn partial_cmp(&self, other: &MuxedAccount) -> Option<Ordering>
fn partial_cmp(&self, other: &MuxedAccount) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more