pub enum ContentConstraint {
Containing(ASN1Type),
EncodedBy(ASN1Value),
ContainingEncodedBy {
containing: ASN1Type,
encoded_by: ASN1Value,
},
}
Variants§
Trait Implementations§
Source§impl Clone for ContentConstraint
impl Clone for ContentConstraint
Source§fn clone(&self) -> ContentConstraint
fn clone(&self) -> ContentConstraint
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ContentConstraint
impl Debug for ContentConstraint
Source§impl From<ASN1Type> for ContentConstraint
impl From<ASN1Type> for ContentConstraint
Source§impl From<ASN1Value> for ContentConstraint
impl From<ASN1Value> for ContentConstraint
Source§impl PartialEq for ContentConstraint
impl PartialEq for ContentConstraint
impl StructuralPartialEq for ContentConstraint
Auto Trait Implementations§
impl Freeze for ContentConstraint
impl RefUnwindSafe for ContentConstraint
impl Send for ContentConstraint
impl Sync for ContentConstraint
impl Unpin for ContentConstraint
impl UnwindSafe for ContentConstraint
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