pub struct SubAccountIdentifier {
pub address: SubAccount,
}Expand description
An account may have state specific to a contract address (ERC-20 token) and/or a stake (delegated balance). The sub_account_identifier should specify which state (if applicable) an account instantiation refers to.
Fields§
§address: SubAccountThe SubAccount address may be a cryptographic value or some other identifier (ex: bonded) that uniquely specifies a SubAccount.
Trait Implementations§
Source§impl Clone for SubAccountIdentifier
impl Clone for SubAccountIdentifier
Source§fn clone(&self) -> SubAccountIdentifier
fn clone(&self) -> SubAccountIdentifier
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 SubAccountIdentifier
impl Debug for SubAccountIdentifier
Source§impl<'de> Deserialize<'de> for SubAccountIdentifier
impl<'de> Deserialize<'de> for SubAccountIdentifier
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 SubAccountIdentifier
impl Hash for SubAccountIdentifier
Source§impl PartialEq for SubAccountIdentifier
impl PartialEq for SubAccountIdentifier
Source§impl Serialize for SubAccountIdentifier
impl Serialize for SubAccountIdentifier
impl Eq for SubAccountIdentifier
impl StructuralPartialEq for SubAccountIdentifier
Auto Trait Implementations§
impl Freeze for SubAccountIdentifier
impl RefUnwindSafe for SubAccountIdentifier
impl Send for SubAccountIdentifier
impl Sync for SubAccountIdentifier
impl Unpin for SubAccountIdentifier
impl UnwindSafe for SubAccountIdentifier
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