pub struct PolicyMappings(pub Vec<PolicyMapping>);Expand description
PolicyMappings as defined in RFC 5280 Section 4.2.1.5.
PolicyMappings ::= SEQUENCE SIZE (1..MAX) OF SEQUENCE {Tuple Fields§
§0: Vec<PolicyMapping>Trait Implementations§
Source§impl<'a> AsMut<Vec<PolicyMapping>> for PolicyMappings
impl<'a> AsMut<Vec<PolicyMapping>> for PolicyMappings
Source§fn as_mut(&mut self) -> &mut Vec<PolicyMapping>
fn as_mut(&mut self) -> &mut Vec<PolicyMapping>
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl<'a> AsRef<Vec<PolicyMapping>> for PolicyMappings
impl<'a> AsRef<Vec<PolicyMapping>> for PolicyMappings
Source§fn as_ref(&self) -> &Vec<PolicyMapping>
fn as_ref(&self) -> &Vec<PolicyMapping>
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AssociatedOid for PolicyMappings
impl AssociatedOid for PolicyMappings
Source§const OID: ObjectIdentifier = ID_CE_POLICY_MAPPINGS
const OID: ObjectIdentifier = ID_CE_POLICY_MAPPINGS
The OID associated with this type.
Source§impl Clone for PolicyMappings
impl Clone for PolicyMappings
Source§impl Criticality for PolicyMappings
impl Criticality for PolicyMappings
Source§impl Debug for PolicyMappings
impl Debug for PolicyMappings
Source§impl<'a> DecodeValue<'a> for PolicyMappings
impl<'a> DecodeValue<'a> for PolicyMappings
Source§impl<'a> EncodeValue for PolicyMappings
impl<'a> EncodeValue for PolicyMappings
impl Eq for PolicyMappings
Source§impl<'a> FixedTag for PolicyMappings
impl<'a> FixedTag for PolicyMappings
Source§impl<'a> From<PolicyMappings> for Vec<PolicyMapping>
impl<'a> From<PolicyMappings> for Vec<PolicyMapping>
Source§fn from(value: PolicyMappings) -> Self
fn from(value: PolicyMappings) -> Self
Converts to this type from the input type.
Source§impl<'a> From<Vec<PolicyMapping>> for PolicyMappings
impl<'a> From<Vec<PolicyMapping>> for PolicyMappings
Source§fn from(value: Vec<PolicyMapping>) -> Self
fn from(value: Vec<PolicyMapping>) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PolicyMappings
impl PartialEq for PolicyMappings
impl StructuralPartialEq for PolicyMappings
Auto Trait Implementations§
impl Freeze for PolicyMappings
impl RefUnwindSafe for PolicyMappings
impl Send for PolicyMappings
impl Sync for PolicyMappings
impl Unpin for PolicyMappings
impl UnsafeUnpin for PolicyMappings
impl UnwindSafe for PolicyMappings
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'a, T> Decode<'a> for Twhere
T: DecodeValue<'a> + FixedTag + 'a,
impl<'a, T> Decode<'a> for Twhere
T: DecodeValue<'a> + FixedTag + 'a,
Source§type Error = <T as DecodeValue<'a>>::Error
type Error = <T as DecodeValue<'a>>::Error
Type returned in the event of a decoding error.
Source§fn decode<R>(reader: &mut R) -> Result<T, <T as DecodeValue<'a>>::Error>where
R: Reader<'a>,
fn decode<R>(reader: &mut R) -> Result<T, <T as DecodeValue<'a>>::Error>where
R: Reader<'a>,
Attempt to decode this TLV message using the provided decoder. Read more
impl<T> DecodeOwned for Twhere
T: for<'a> Decode<'a>,
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 T
impl<T> Encode for T
Source§fn encoded_len(&self) -> Result<Length, Error>
fn encoded_len(&self) -> Result<Length, Error>
Compute the length of this TLV object in bytes when encoded as ASN.1 DER. Read more
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 TLV object to the provided byte slice, returning a sub-slice
containing the encoded message. Read more
Source§impl<T> IsConstructed for T
impl<T> IsConstructed for T
Source§const CONSTRUCTED: bool
const CONSTRUCTED: bool
ASN.1 constructed bit