Struct x509_cert::ext::pkix::AuthorityInfoAccessSyntax
source · pub struct AuthorityInfoAccessSyntax(pub Vec<AccessDescription>);
Expand description
AuthorityInfoAccessSyntax as defined in RFC 5280 Section 4.2.2.1.
AuthorityInfoAccessSyntax ::= SEQUENCE SIZE (1..MAX) OF AccessDescription
Tuple Fields§
§0: Vec<AccessDescription>
Trait Implementations§
source§impl<'a> AsMut<Vec<AccessDescription>> for AuthorityInfoAccessSyntax
impl<'a> AsMut<Vec<AccessDescription>> for AuthorityInfoAccessSyntax
source§fn as_mut(&mut self) -> &mut Vec<AccessDescription>
fn as_mut(&mut self) -> &mut Vec<AccessDescription>
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl<'a> AsRef<Vec<AccessDescription>> for AuthorityInfoAccessSyntax
impl<'a> AsRef<Vec<AccessDescription>> for AuthorityInfoAccessSyntax
source§fn as_ref(&self) -> &Vec<AccessDescription>
fn as_ref(&self) -> &Vec<AccessDescription>
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AssociatedOid for AuthorityInfoAccessSyntax
impl AssociatedOid for AuthorityInfoAccessSyntax
source§const OID: ObjectIdentifier = ID_PE_AUTHORITY_INFO_ACCESS
const OID: ObjectIdentifier = ID_PE_AUTHORITY_INFO_ACCESS
The OID associated with this type.
source§impl Clone for AuthorityInfoAccessSyntax
impl Clone for AuthorityInfoAccessSyntax
source§fn clone(&self) -> AuthorityInfoAccessSyntax
fn clone(&self) -> AuthorityInfoAccessSyntax
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 AuthorityInfoAccessSyntax
impl Debug for AuthorityInfoAccessSyntax
source§impl<'a> DecodeValue<'a> for AuthorityInfoAccessSyntax
impl<'a> DecodeValue<'a> for AuthorityInfoAccessSyntax
source§impl Default for AuthorityInfoAccessSyntax
impl Default for AuthorityInfoAccessSyntax
source§fn default() -> AuthorityInfoAccessSyntax
fn default() -> AuthorityInfoAccessSyntax
Returns the “default value” for a type. Read more
source§impl<'a> EncodeValue for AuthorityInfoAccessSyntax
impl<'a> EncodeValue for AuthorityInfoAccessSyntax
source§impl<'a> FixedTag for AuthorityInfoAccessSyntax
impl<'a> FixedTag for AuthorityInfoAccessSyntax
source§impl<'a> From<AuthorityInfoAccessSyntax> for Vec<AccessDescription>
impl<'a> From<AuthorityInfoAccessSyntax> for Vec<AccessDescription>
source§fn from(value: AuthorityInfoAccessSyntax) -> Self
fn from(value: AuthorityInfoAccessSyntax) -> Self
Converts to this type from the input type.
source§impl<'a> From<Vec<AccessDescription>> for AuthorityInfoAccessSyntax
impl<'a> From<Vec<AccessDescription>> for AuthorityInfoAccessSyntax
source§fn from(value: Vec<AccessDescription>) -> Self
fn from(value: Vec<AccessDescription>) -> Self
Converts to this type from the input type.
source§impl PartialEq for AuthorityInfoAccessSyntax
impl PartialEq for AuthorityInfoAccessSyntax
source§fn eq(&self, other: &AuthorityInfoAccessSyntax) -> bool
fn eq(&self, other: &AuthorityInfoAccessSyntax) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> ValueOrd for AuthorityInfoAccessSyntax
impl<'a> ValueOrd for AuthorityInfoAccessSyntax
impl Eq for AuthorityInfoAccessSyntax
impl StructuralEq for AuthorityInfoAccessSyntax
impl StructuralPartialEq for AuthorityInfoAccessSyntax
Auto Trait Implementations§
impl RefUnwindSafe for AuthorityInfoAccessSyntax
impl Send for AuthorityInfoAccessSyntax
impl Sync for AuthorityInfoAccessSyntax
impl Unpin for AuthorityInfoAccessSyntax
impl UnwindSafe for AuthorityInfoAccessSyntax
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.