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
)