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
impl StructuralPartialEq for DefinitiveIdentifier
Auto Trait Implementations§
impl Freeze for DefinitiveIdentifier
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)