pub struct AccountAddress(/* private fields */);Expand description
A struct that represents an account address.
Implementations§
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 duplicate 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<'de> Deserialize<'de> for AccountAddress
impl<'de> Deserialize<'de> for AccountAddress
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 Display for AccountAddress
impl Display for AccountAddress
Source§impl From<&AccountAddress> for [u8; 16]
impl From<&AccountAddress> for [u8; 16]
Source§fn from(addr: &AccountAddress) -> Self
fn from(addr: &AccountAddress) -> Self
Converts to this type from the input type.
Source§impl From<&AccountAddress> for String
impl From<&AccountAddress> for String
Source§fn from(addr: &AccountAddress) -> String
fn from(addr: &AccountAddress) -> String
Converts to this type from the input type.
Source§impl From<AccountAddress> for [u8; 16]
impl From<AccountAddress> for [u8; 16]
Source§fn from(addr: AccountAddress) -> Self
fn from(addr: AccountAddress) -> Self
Converts to this type from the input type.
Source§impl FromStr for AccountAddress
impl FromStr for AccountAddress
Source§impl Hash for AccountAddress
impl Hash for AccountAddress
Source§impl LowerHex for AccountAddress
impl LowerHex 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 for AccountAddress
impl PartialEq for AccountAddress
Source§impl PartialOrd for AccountAddress
impl PartialOrd for AccountAddress
Source§impl Serialize for AccountAddress
impl Serialize for AccountAddress
Source§impl TryFrom<&[u8]> for AccountAddress
impl TryFrom<&[u8]> for AccountAddress
Source§impl TryFrom<String> for AccountAddress
impl TryFrom<String> for AccountAddress
Source§impl UpperHex for AccountAddress
impl UpperHex for AccountAddress
impl Copy for AccountAddress
impl Eq for AccountAddress
impl StructuralPartialEq for AccountAddress
Auto Trait Implementations§
impl Freeze for AccountAddress
impl RefUnwindSafe for AccountAddress
impl Send for AccountAddress
impl Sync for AccountAddress
impl Unpin for AccountAddress
impl UnsafeUnpin for AccountAddress
impl UnwindSafe for AccountAddress
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToHex for T
impl<T> ToHex for T
Source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Lower case
letters are used (e.g. f9b4ca)Source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Upper case
letters are used (e.g. F9B4CA)