Struct stellar_strkey::ed25519::MuxedAccount
source · pub struct MuxedAccount {
pub ed25519: [u8; 32],
pub id: u64,
}
Fields§
§ed25519: [u8; 32]
§id: u64
Implementations§
source§impl MuxedAccount
impl MuxedAccount
pub fn to_string(&self) -> String
pub fn from_payload(payload: &[u8]) -> Result<Self, DecodeError>
pub fn from_string(s: &str) -> Result<Self, DecodeError>
Trait Implementations§
source§impl Clone for MuxedAccount
impl Clone for MuxedAccount
source§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 moresource§impl Debug for MuxedAccount
impl Debug for MuxedAccount
source§impl Display for MuxedAccount
impl Display for MuxedAccount
source§impl FromStr for MuxedAccount
impl FromStr for MuxedAccount
source§impl Hash for MuxedAccount
impl Hash for MuxedAccount
source§impl Ord for MuxedAccount
impl Ord for MuxedAccount
source§fn cmp(&self, other: &MuxedAccount) -> Ordering
fn cmp(&self, other: &MuxedAccount) -> Ordering
1.21.0 · 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 MuxedAccount
impl PartialEq for MuxedAccount
source§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 ==
.source§impl PartialOrd for MuxedAccount
impl PartialOrd for MuxedAccount
source§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 moreimpl Copy for MuxedAccount
impl Eq for MuxedAccount
impl StructuralEq for MuxedAccount
impl StructuralPartialEq 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§
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