pub enum DefinitiveIdentifier {
DefinitiveOID(ObjectIdentifierValue),
DefinitiveOIDandIRI {
oid: ObjectIdentifierValue,
iri: String,
},
}
Expand description
Represents a module header’s definitive identifier as specified in Rec. ITU-T X.680 (02/2021) § 13.8
Variants§
DefinitiveOID(ObjectIdentifierValue)
DefinitiveOIDandIRI
Trait Implementations§
source§impl Clone for DefinitiveIdentifier
impl Clone for DefinitiveIdentifier
source§fn clone(&self) -> DefinitiveIdentifier
fn clone(&self) -> DefinitiveIdentifier
Returns a copy 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 DefinitiveIdentifier
impl Debug for DefinitiveIdentifier
source§impl From<(ObjectIdentifierValue, Option<&str>)> for DefinitiveIdentifier
impl From<(ObjectIdentifierValue, Option<&str>)> for DefinitiveIdentifier
source§impl PartialEq for DefinitiveIdentifier
impl PartialEq for DefinitiveIdentifier
source§fn eq(&self, other: &DefinitiveIdentifier) -> bool
fn eq(&self, other: &DefinitiveIdentifier) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DefinitiveIdentifier
Auto Trait Implementations§
impl RefUnwindSafe for DefinitiveIdentifier
impl Send for DefinitiveIdentifier
impl Sync for DefinitiveIdentifier
impl Unpin for DefinitiveIdentifier
impl UnwindSafe for DefinitiveIdentifier
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