[−][src]Struct stellar_base::crypto::MuxedEd25519PublicKey
A public key together with an id.
Implementations
impl MuxedEd25519PublicKey[src]
pub fn new(key: PublicKey, id: u64) -> MuxedEd25519PublicKey[src]
pub fn from_account_id(account_id: &str) -> Result<MuxedEd25519PublicKey>[src]
pub fn from_slice(data: &[u8], id: u64) -> Result<MuxedEd25519PublicKey>[src]
Create from raw byte and id.
pub fn public_key(&self) -> &PublicKey[src]
Return the inner key.
pub fn account_id(&self) -> String[src]
pub fn to_xdr(&self) -> Result<MuxedAccount>[src]
Trait Implementations
impl Clone for MuxedEd25519PublicKey[src]
fn clone(&self) -> MuxedEd25519PublicKey[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for MuxedEd25519PublicKey[src]
impl Eq for MuxedEd25519PublicKey[src]
impl From<MuxedEd25519PublicKey> for MuxedAccount[src]
fn from(muxed: MuxedEd25519PublicKey) -> Self[src]
impl PartialEq<MuxedEd25519PublicKey> for MuxedEd25519PublicKey[src]
fn eq(&self, other: &MuxedEd25519PublicKey) -> bool[src]
fn ne(&self, other: &MuxedEd25519PublicKey) -> bool[src]
impl StructuralEq for MuxedEd25519PublicKey[src]
impl StructuralPartialEq for MuxedEd25519PublicKey[src]
Auto Trait Implementations
impl RefUnwindSafe for MuxedEd25519PublicKey
impl Send for MuxedEd25519PublicKey
impl Sync for MuxedEd25519PublicKey
impl Unpin for MuxedEd25519PublicKey
impl UnwindSafe for MuxedEd25519PublicKey
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,