Struct concordium_std::AccountAddress
source · [−]Expand description
Address of an account, as raw bytes.
Tuple Fields
0: [u8; 32]Implementations
sourceimpl 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
sourceimpl Clone for AccountAddress
impl Clone for AccountAddress
sourcefn clone(&self) -> AccountAddress
fn clone(&self) -> AccountAddress
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for AccountAddress
impl Debug for AccountAddress
sourceimpl Deserial for AccountAddress
impl Deserial for AccountAddress
sourcefn 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
sourceimpl Hash for AccountAddress
impl Hash for AccountAddress
sourceimpl Ord for AccountAddress
impl Ord for AccountAddress
sourceimpl PartialEq<AccountAddress> for AccountAddress
impl PartialEq<AccountAddress> for AccountAddress
sourcefn eq(&self, other: &AccountAddress) -> bool
fn eq(&self, other: &AccountAddress) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &AccountAddress) -> bool
fn ne(&self, other: &AccountAddress) -> bool
This method tests for !=.
sourceimpl PartialOrd<AccountAddress> for AccountAddress
impl PartialOrd<AccountAddress> for AccountAddress
sourcefn partial_cmp(&self, other: &AccountAddress) -> Option<Ordering>
fn partial_cmp(&self, other: &AccountAddress) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn 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
sourceimpl SchemaType for AccountAddress
impl SchemaType for AccountAddress
sourceimpl Serial for AccountAddress
impl Serial for AccountAddress
impl Copy for AccountAddress
impl Eq for AccountAddress
impl StructuralEq for AccountAddress
impl StructuralPartialEq for AccountAddress
Auto Trait Implementations
impl RefUnwindSafe for AccountAddress
impl Send for AccountAddress
impl Sync for AccountAddress
impl Unpin for AccountAddress
impl UnwindSafe for AccountAddress
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more