Struct diem_types::diem_id_identifier::DiemId
source · pub struct DiemId { /* private fields */ }
Implementations§
source§impl DiemId
impl DiemId
pub fn new( user_identifier: DiemIdUserIdentifier, vasp_domain_identifier: DiemIdVaspDomainIdentifier ) -> Self
pub fn user_identifier(&self) -> &DiemIdUserIdentifier
pub fn vasp_domain_identifier(&self) -> &DiemIdVaspDomainIdentifier
Trait Implementations§
source§impl FromStr for DiemId
impl FromStr for DiemId
§type Err = DiemIdParseError
type Err = DiemIdParseError
The associated error which can be returned from parsing.
source§impl PartialEq<DiemId> for DiemId
impl PartialEq<DiemId> for DiemId
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.