pub struct ConstrainedComponent {
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 ConstrainedComponent
impl Clone for ConstrainedComponent
source§fn clone(&self) -> ConstrainedComponent
fn clone(&self) -> ConstrainedComponent
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 ConstrainedComponent
impl Debug for ConstrainedComponent
source§impl PartialEq for ConstrainedComponent
impl PartialEq for ConstrainedComponent
source§fn eq(&self, other: &ConstrainedComponent) -> bool
fn eq(&self, other: &ConstrainedComponent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConstrainedComponent
Auto Trait Implementations§
impl RefUnwindSafe for ConstrainedComponent
impl Send for ConstrainedComponent
impl Sync for ConstrainedComponent
impl Unpin for ConstrainedComponent
impl UnwindSafe for ConstrainedComponent
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