pub struct InnerTypeConstraint {
pub is_partial: bool,
pub constraints: Vec<ConstrainedComponent>,
}
Expand description
Representation of a component constraint used for subtyping in ASN1 specifications
Fields§
§is_partial: bool
§constraints: Vec<ConstrainedComponent>
Trait Implementations§
source§impl Clone for InnerTypeConstraint
impl Clone for InnerTypeConstraint
source§fn clone(&self) -> InnerTypeConstraint
fn clone(&self) -> InnerTypeConstraint
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 InnerTypeConstraint
impl Debug for InnerTypeConstraint
source§impl PartialEq for InnerTypeConstraint
impl PartialEq for InnerTypeConstraint
source§fn eq(&self, other: &InnerTypeConstraint) -> bool
fn eq(&self, other: &InnerTypeConstraint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InnerTypeConstraint
Auto Trait Implementations§
impl RefUnwindSafe for InnerTypeConstraint
impl Send for InnerTypeConstraint
impl Sync for InnerTypeConstraint
impl Unpin for InnerTypeConstraint
impl UnwindSafe for InnerTypeConstraint
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