Struct concordium_std::AccountAddress
source · Expand description
Address of an account, as raw bytes.
Tuple Fields§
§0: [u8; 32]Implementations§
source§impl AccountAddress
impl AccountAddress
sourcepub fn is_alias(&self, other: &AccountAddress) -> bool
pub fn is_alias(&self, other: &AccountAddress) -> bool
Check whether self is an alias of other. Two addresses are aliases
if they identify the same account. This is defined to be when the
addresses agree on the first 29 bytes.
Trait Implementations§
source§impl AsRef<[u8]> for AccountAddress
impl AsRef<[u8]> for AccountAddress
source§impl Clone for AccountAddress
impl Clone for AccountAddress
source§fn clone(&self) -> AccountAddress
fn clone(&self) -> AccountAddress
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 AccountAddress
impl Debug for AccountAddress
source§impl Deserial for AccountAddress
impl Deserial for AccountAddress
source§fn deserial<R>(source: &mut R) -> Result<AccountAddress, ParseError>where
R: Read,
fn deserial<R>(source: &mut R) -> Result<AccountAddress, ParseError>where
R: Read,
Attempt to read a structure from a given source, failing if an error
occurs during deserialization or reading. Read more
source§impl From<AccountAddress> for Address
impl From<AccountAddress> for Address
source§fn from(address: AccountAddress) -> Address
fn from(address: AccountAddress) -> Address
Converts to this type from the input type.
source§impl Hash for AccountAddress
impl Hash for AccountAddress
source§impl Ord for AccountAddress
impl Ord for AccountAddress
source§fn cmp(&self, other: &AccountAddress) -> Ordering
fn cmp(&self, other: &AccountAddress) -> 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<AccountAddress> for AccountAddress
impl PartialEq<AccountAddress> for AccountAddress
source§fn eq(&self, other: &AccountAddress) -> bool
fn eq(&self, other: &AccountAddress) -> bool
source§impl PartialOrd<AccountAddress> for AccountAddress
impl PartialOrd<AccountAddress> for AccountAddress
source§fn partial_cmp(&self, other: &AccountAddress) -> Option<Ordering>
fn partial_cmp(&self, other: &AccountAddress) -> 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 more