pub struct AccountIdentifierV2 {
pub type: AccountTypeV2,
pub id: Option<String>,
pub sub_type: Option<String>,
pub address: Option<String>,
}Expand description
AccountIdentifierV2 : Account identifier with type, ID, subtype, and address
Fields§
§type: AccountTypeV2§id: Option<String>Account ID
sub_type: Option<String>Account subtype
address: Option<String>Account address
Implementations§
Source§impl AccountIdentifierV2
impl AccountIdentifierV2
Sourcepub fn new(type: AccountTypeV2) -> AccountIdentifierV2
pub fn new(type: AccountTypeV2) -> AccountIdentifierV2
Account identifier with type, ID, subtype, and address
Trait Implementations§
Source§impl Clone for AccountIdentifierV2
impl Clone for AccountIdentifierV2
Source§fn clone(&self) -> AccountIdentifierV2
fn clone(&self) -> AccountIdentifierV2
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 AccountIdentifierV2
impl Debug for AccountIdentifierV2
Source§impl Default for AccountIdentifierV2
impl Default for AccountIdentifierV2
Source§fn default() -> AccountIdentifierV2
fn default() -> AccountIdentifierV2
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccountIdentifierV2
impl<'de> Deserialize<'de> for AccountIdentifierV2
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 PartialEq for AccountIdentifierV2
impl PartialEq for AccountIdentifierV2
Source§impl Serialize for AccountIdentifierV2
impl Serialize for AccountIdentifierV2
impl StructuralPartialEq for AccountIdentifierV2
Auto Trait Implementations§
impl Freeze for AccountIdentifierV2
impl RefUnwindSafe for AccountIdentifierV2
impl Send for AccountIdentifierV2
impl Sync for AccountIdentifierV2
impl Unpin for AccountIdentifierV2
impl UnwindSafe for AccountIdentifierV2
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