Struct rasn_compiler::intermediate::types::ObjectIdentifier
source · pub struct ObjectIdentifier {
pub constraints: Vec<Constraint>,
}
Expand description
Representation of an ASN1 OBJECT IDENTIFIER data element with corresponding constraints. As defined in Rec. ITU-T X.680 (02/2021) §32
Fields§
§constraints: Vec<Constraint>
Trait Implementations§
source§impl Clone for ObjectIdentifier
impl Clone for ObjectIdentifier
source§fn clone(&self) -> ObjectIdentifier
fn clone(&self) -> ObjectIdentifier
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 ObjectIdentifier
impl Debug for ObjectIdentifier
source§impl From<Option<Vec<Constraint>>> for ObjectIdentifier
impl From<Option<Vec<Constraint>>> for ObjectIdentifier
source§impl PartialEq for ObjectIdentifier
impl PartialEq for ObjectIdentifier
source§fn eq(&self, other: &ObjectIdentifier) -> bool
fn eq(&self, other: &ObjectIdentifier) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ObjectIdentifier
Auto Trait Implementations§
impl RefUnwindSafe for ObjectIdentifier
impl Send for ObjectIdentifier
impl Sync for ObjectIdentifier
impl Unpin for ObjectIdentifier
impl UnwindSafe for ObjectIdentifier
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