pub struct PublicIdentity { /* private fields */ }Expand description
Public account identity information.
Implementations§
Source§impl PublicIdentity
impl PublicIdentity
Sourcepub fn account_id(&self) -> &AccountId
pub fn account_id(&self) -> &AccountId
Get the account identifier.
Trait Implementations§
Source§impl Clone for PublicIdentity
impl Clone for PublicIdentity
Source§fn clone(&self) -> PublicIdentity
fn clone(&self) -> PublicIdentity
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 PublicIdentity
impl Debug for PublicIdentity
Source§impl<'de> Deserialize<'de> for PublicIdentity
impl<'de> Deserialize<'de> for PublicIdentity
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 From<&PublicIdentity> for AccountRef
impl From<&PublicIdentity> for AccountRef
Source§fn from(value: &PublicIdentity) -> Self
fn from(value: &PublicIdentity) -> Self
Converts to this type from the input type.
Source§impl From<PublicIdentity> for AccountRef
impl From<PublicIdentity> for AccountRef
Source§fn from(value: PublicIdentity) -> Self
fn from(value: PublicIdentity) -> Self
Converts to this type from the input type.
Source§impl Hash for PublicIdentity
impl Hash for PublicIdentity
Source§impl PartialEq for PublicIdentity
impl PartialEq for PublicIdentity
Source§impl Serialize for PublicIdentity
impl Serialize for PublicIdentity
impl Eq for PublicIdentity
impl StructuralPartialEq for PublicIdentity
Auto Trait Implementations§
impl Freeze for PublicIdentity
impl RefUnwindSafe for PublicIdentity
impl Send for PublicIdentity
impl Sync for PublicIdentity
impl Unpin for PublicIdentity
impl UnwindSafe for PublicIdentity
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