Enum soroban_env_guest::xdr::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 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl 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 Name for MuxedAccount
impl Name for MuxedAccount
impl Ord for MuxedAccount
impl Ord for MuxedAccount
fn cmp(&self, other: &MuxedAccount) -> Ordering
fn cmp(&self, other: &MuxedAccount) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
impl PartialEq<MuxedAccount> for MuxedAccount
impl PartialEq<MuxedAccount> for MuxedAccount
fn eq(&self, other: &MuxedAccount) -> bool
fn eq(&self, other: &MuxedAccount) -> bool
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 · sourcefn 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 moreimpl Variants<CryptoKeyType> for MuxedAccount
impl Variants<CryptoKeyType> for MuxedAccount
fn variants() -> Iter<'static, CryptoKeyType>
impl Eq for MuxedAccount
impl ReadXdr for MuxedAccount
impl StructuralEq for MuxedAccount
impl StructuralPartialEq for MuxedAccount
impl Union<CryptoKeyType> for MuxedAccount
impl WriteXdr for MuxedAccount
Auto Trait Implementations
impl RefUnwindSafe for MuxedAccount
impl Send for MuxedAccount
impl Sync for MuxedAccount
impl Unpin for MuxedAccount
impl UnwindSafe for MuxedAccount
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more