pub enum SubtypeElements {
SingleValue {
value: ASN1Value,
extensible: bool,
},
ContainedSubtype {
subtype: ASN1Type,
extensible: bool,
},
ValueRange {
min: Option<ASN1Value>,
max: Option<ASN1Value>,
extensible: bool,
},
PermittedAlphabet(Box<ElementOrSetOperation>),
SizeConstraint(Box<ElementOrSetOperation>),
TypeConstraint(ASN1Type),
SingleTypeConstraint(Vec<Constraint>),
MultipleTypeConstraints(InnerTypeConstraint),
PatternConstraint(PatternConstraint),
UserDefinedConstraint(UserDefinedConstraint),
PropertySettings(PropertySettings),
}
Variants§
SingleValue
ContainedSubtype
ValueRange
PermittedAlphabet(Box<ElementOrSetOperation>)
SizeConstraint(Box<ElementOrSetOperation>)
TypeConstraint(ASN1Type)
SingleTypeConstraint(Vec<Constraint>)
MultipleTypeConstraints(InnerTypeConstraint)
PatternConstraint(PatternConstraint)
UserDefinedConstraint(UserDefinedConstraint)
PropertySettings(PropertySettings)
Trait Implementations§
Source§impl Clone for SubtypeElements
impl Clone for SubtypeElements
Source§fn clone(&self) -> SubtypeElements
fn clone(&self) -> SubtypeElements
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 SubtypeElements
impl Debug for SubtypeElements
Source§impl From<(ASN1Value, Option<ExtensionMarker>)> for SubtypeElements
impl From<(ASN1Value, Option<ExtensionMarker>)> for SubtypeElements
Source§impl From<(Option<ExtensionMarker>, Vec<NamedConstraint>)> for SubtypeElements
impl From<(Option<ExtensionMarker>, Vec<NamedConstraint>)> for SubtypeElements
Source§fn from(value: (Option<ExtensionMarker>, Vec<NamedConstraint>)) -> Self
fn from(value: (Option<ExtensionMarker>, Vec<NamedConstraint>)) -> Self
Converts to this type from the input type.
Source§impl From<Constraint> for SubtypeElements
impl From<Constraint> for SubtypeElements
Source§fn from(value: Constraint) -> Self
fn from(value: Constraint) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SubtypeElements
impl PartialEq for SubtypeElements
impl StructuralPartialEq for SubtypeElements
Auto Trait Implementations§
impl Freeze for SubtypeElements
impl RefUnwindSafe for SubtypeElements
impl Send for SubtypeElements
impl Sync for SubtypeElements
impl Unpin for SubtypeElements
impl UnwindSafe for SubtypeElements
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