Struct x509_cert::ext::pkix::InhibitAnyPolicy
source · pub struct InhibitAnyPolicy(pub u32);
Expand description
InhibitAnyPolicy as defined in RFC 5280 Section 4.2.1.14.
InhibitAnyPolicy ::= SkipCerts
Tuple Fields§
§0: u32
Trait Implementations§
source§impl AsExtension for InhibitAnyPolicy
impl AsExtension for InhibitAnyPolicy
source§impl<'a> AsMut<u32> for InhibitAnyPolicy
impl<'a> AsMut<u32> for InhibitAnyPolicy
source§impl<'a> AsRef<u32> for InhibitAnyPolicy
impl<'a> AsRef<u32> for InhibitAnyPolicy
source§impl AssociatedOid for InhibitAnyPolicy
impl AssociatedOid for InhibitAnyPolicy
source§const OID: ObjectIdentifier = ID_CE_INHIBIT_ANY_POLICY
const OID: ObjectIdentifier = ID_CE_INHIBIT_ANY_POLICY
The OID associated with this type.
source§impl Clone for InhibitAnyPolicy
impl Clone for InhibitAnyPolicy
source§fn clone(&self) -> InhibitAnyPolicy
fn clone(&self) -> InhibitAnyPolicy
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 InhibitAnyPolicy
impl Debug for InhibitAnyPolicy
source§impl<'a> DecodeValue<'a> for InhibitAnyPolicy
impl<'a> DecodeValue<'a> for InhibitAnyPolicy
source§impl Default for InhibitAnyPolicy
impl Default for InhibitAnyPolicy
source§fn default() -> InhibitAnyPolicy
fn default() -> InhibitAnyPolicy
Returns the “default value” for a type. Read more
source§impl<'a> EncodeValue for InhibitAnyPolicy
impl<'a> EncodeValue for InhibitAnyPolicy
source§impl<'a> FixedTag for InhibitAnyPolicy
impl<'a> FixedTag for InhibitAnyPolicy
source§impl<'a> From<InhibitAnyPolicy> for u32
impl<'a> From<InhibitAnyPolicy> for u32
source§fn from(value: InhibitAnyPolicy) -> Self
fn from(value: InhibitAnyPolicy) -> Self
Converts to this type from the input type.
source§impl<'a> From<u32> for InhibitAnyPolicy
impl<'a> From<u32> for InhibitAnyPolicy
source§impl PartialEq for InhibitAnyPolicy
impl PartialEq for InhibitAnyPolicy
source§fn eq(&self, other: &InhibitAnyPolicy) -> bool
fn eq(&self, other: &InhibitAnyPolicy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> ValueOrd for InhibitAnyPolicy
impl<'a> ValueOrd for InhibitAnyPolicy
impl Copy for InhibitAnyPolicy
impl Eq for InhibitAnyPolicy
impl StructuralEq for InhibitAnyPolicy
impl StructuralPartialEq for InhibitAnyPolicy
Auto Trait Implementations§
impl RefUnwindSafe for InhibitAnyPolicy
impl Send for InhibitAnyPolicy
impl Sync for InhibitAnyPolicy
impl Unpin for InhibitAnyPolicy
impl UnwindSafe for InhibitAnyPolicy
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
source§impl<'a, T> Decode<'a> for Twhere
T: DecodeValue<'a> + FixedTag,
impl<'a, T> Decode<'a> for Twhere
T: DecodeValue<'a> + FixedTag,
source§impl<T> DynAssociatedOid for Twhere
T: AssociatedOid,
impl<T> DynAssociatedOid for Twhere
T: AssociatedOid,
source§fn oid(&self) -> ObjectIdentifier
fn oid(&self) -> ObjectIdentifier
Get the OID associated with this value.
source§impl<T> Encode for Twhere
T: EncodeValue + Tagged,
impl<T> Encode for Twhere
T: EncodeValue + Tagged,
source§fn encoded_len(&self) -> Result<Length, Error>
fn encoded_len(&self) -> Result<Length, Error>
Compute the length of this value in bytes when encoded as ASN.1 DER.
source§fn encode(&self, writer: &mut impl Writer) -> Result<(), Error>
fn encode(&self, writer: &mut impl Writer) -> Result<(), Error>
Encode this value as ASN.1 DER using the provided Writer
.
source§fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8], Error>
fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8], Error>
Encode this value to the provided byte slice, returning a sub-slice
containing the encoded message.