pub struct WalletIdentifier {
pub pub_key: PublicKey,
pub chain_type: ChainType,
}Fields§
§pub_key: PublicKey§chain_type: ChainTypeImplementations§
Trait Implementations§
source§impl CandidType for WalletIdentifier
impl CandidType for WalletIdentifier
source§impl Clone for WalletIdentifier
impl Clone for WalletIdentifier
source§fn clone(&self) -> WalletIdentifier
fn clone(&self) -> WalletIdentifier
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 WalletIdentifier
impl Debug for WalletIdentifier
source§impl<'de> Deserialize<'de> for WalletIdentifier
impl<'de> Deserialize<'de> for WalletIdentifier
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
source§impl Hash for WalletIdentifier
impl Hash for WalletIdentifier
source§impl Ord for WalletIdentifier
impl Ord for WalletIdentifier
source§fn cmp(&self, other: &WalletIdentifier) -> Ordering
fn cmp(&self, other: &WalletIdentifier) -> 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 WalletIdentifier
impl PartialEq for WalletIdentifier
source§fn eq(&self, other: &WalletIdentifier) -> bool
fn eq(&self, other: &WalletIdentifier) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for WalletIdentifier
impl PartialOrd for WalletIdentifier
source§fn partial_cmp(&self, other: &WalletIdentifier) -> Option<Ordering>
fn partial_cmp(&self, other: &WalletIdentifier) -> 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 moresource§impl Serialize for WalletIdentifier
impl Serialize for WalletIdentifier
source§impl Storable for WalletIdentifier
impl Storable for WalletIdentifier
source§fn from_bytes(bytes: Cow<'_, [u8]>) -> Self
fn from_bytes(bytes: Cow<'_, [u8]>) -> Self
Converts bytes into an element.
source§fn to_bytes_checked(&self) -> Cow<'_, [u8]>
fn to_bytes_checked(&self) -> Cow<'_, [u8]>
Like
to_bytes, but includes additional checks to ensure the element’s serialized bytes
are within the element’s bounds.impl Eq for WalletIdentifier
impl StructuralPartialEq for WalletIdentifier
Auto Trait Implementations§
impl Freeze for WalletIdentifier
impl RefUnwindSafe for WalletIdentifier
impl Send for WalletIdentifier
impl Sync for WalletIdentifier
impl Unpin for WalletIdentifier
impl UnwindSafe for WalletIdentifier
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