Struct diem_sdk::types::diem_id_identifier::DiemId
pub struct DiemId { /* private fields */ }
Implementations§
§impl DiemId
impl DiemId
pub fn new( user_identifier: DiemIdUserIdentifier, vasp_domain_identifier: DiemIdVaspDomainIdentifier ) -> DiemId
pub fn user_identifier(&self) -> &DiemIdUserIdentifier
pub fn vasp_domain_identifier(&self) -> &DiemIdVaspDomainIdentifier
Trait Implementations§
§impl FromStr for DiemId
impl FromStr for DiemId
§type Err = DiemIdParseError
type Err = DiemIdParseError
The associated error which can be returned from parsing.
impl Eq for DiemId
impl StructuralEq for DiemId
impl StructuralPartialEq for DiemId
Auto Trait Implementations§
impl RefUnwindSafe for DiemId
impl Send for DiemId
impl Sync for DiemId
impl Unpin for DiemId
impl UnwindSafe for DiemId
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.