Struct chainhook_types::AccountIdentifier
source · pub struct AccountIdentifier {
pub address: String,
pub sub_account: Option<SubAccountIdentifier>,
}Expand description
The account_identifier uniquely identifies an account within a network. All fields in the account_identifier are utilized to determine this uniqueness (including the metadata field, if populated).
Fields§
§address: StringThe address may be a cryptographic public key (or some encoding of it) or a provided username.
sub_account: Option<SubAccountIdentifier>Trait Implementations§
source§impl Clone for AccountIdentifier
impl Clone for AccountIdentifier
source§fn clone(&self) -> AccountIdentifier
fn clone(&self) -> AccountIdentifier
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 AccountIdentifier
impl Debug for AccountIdentifier
source§impl<'de> Deserialize<'de> for AccountIdentifier
impl<'de> Deserialize<'de> for AccountIdentifier
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 AccountIdentifier
impl Hash for AccountIdentifier
source§impl PartialEq<AccountIdentifier> for AccountIdentifier
impl PartialEq<AccountIdentifier> for AccountIdentifier
source§fn eq(&self, other: &AccountIdentifier) -> bool
fn eq(&self, other: &AccountIdentifier) -> bool
This method tests for
self and other values to be equal, and is used
by ==.