pub struct NamedConstraint {
pub identifier: String,
pub constraints: Vec<Constraint>,
pub presence: ComponentPresence,
}
Expand description
Representation of a single component within a component constraint in ASN1 specifications
Fields§
§identifier: String
§constraints: Vec<Constraint>
§presence: ComponentPresence
Trait Implementations§
Source§impl Clone for NamedConstraint
impl Clone for NamedConstraint
Source§fn clone(&self) -> NamedConstraint
fn clone(&self) -> NamedConstraint
Returns a duplicate 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 NamedConstraint
impl Debug for NamedConstraint
Source§impl PartialEq for NamedConstraint
impl PartialEq for NamedConstraint
impl StructuralPartialEq for NamedConstraint
Auto Trait Implementations§
impl Freeze for NamedConstraint
impl RefUnwindSafe for NamedConstraint
impl Send for NamedConstraint
impl Sync for NamedConstraint
impl Unpin for NamedConstraint
impl UnwindSafe for NamedConstraint
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