pub struct AccountKey(/* private fields */);
Expand description
A key type for referencing accounts.
Trait Implementations§
Source§impl Clone for AccountKey
impl Clone for AccountKey
Source§fn clone(&self) -> AccountKey
fn clone(&self) -> AccountKey
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 AccountKey
impl Debug for AccountKey
Source§impl Default for AccountKey
impl Default for AccountKey
Source§fn default() -> AccountKey
fn default() -> AccountKey
Returns the “default value” for a type. Read more
Source§impl From<KeyData> for AccountKey
impl From<KeyData> for AccountKey
Source§impl Hash for AccountKey
impl Hash for AccountKey
Source§impl Key for AccountKey
impl Key for AccountKey
Source§fn null() -> Self
fn null() -> Self
Creates a new key that is always invalid and distinct from any non-null
key. A null key can only be created through this method (or default
initialization of keys made with
new_key_type!
, which calls this
method). Read moreSource§impl Ord for AccountKey
impl Ord for AccountKey
Source§fn cmp(&self, other: &AccountKey) -> Ordering
fn cmp(&self, other: &AccountKey) -> 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 AccountKey
impl PartialEq for AccountKey
Source§impl PartialOrd for AccountKey
impl PartialOrd for AccountKey
impl Copy for AccountKey
impl Eq for AccountKey
impl StructuralPartialEq for AccountKey
Auto Trait Implementations§
impl Freeze for AccountKey
impl RefUnwindSafe for AccountKey
impl Send for AccountKey
impl Sync for AccountKey
impl Unpin for AccountKey
impl UnwindSafe for AccountKey
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