pub enum RecipientIdentifier {
IssuerAndSerialNumber(IssuerAndSerialNumber),
SubjectKeyIdentifier(OctetString),
}
Expand description
Recipient identifier.
RecipientIdentifier ::= CHOICE {
issuerAndSerialNumber IssuerAndSerialNumber,
subjectKeyIdentifier [0] SubjectKeyIdentifier }
Variants§
IssuerAndSerialNumber(IssuerAndSerialNumber)
SubjectKeyIdentifier(OctetString)
Trait Implementations§
source§impl Clone for RecipientIdentifier
impl Clone for RecipientIdentifier
source§fn clone(&self) -> RecipientIdentifier
fn clone(&self) -> RecipientIdentifier
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 RecipientIdentifier
impl Debug for RecipientIdentifier
source§impl PartialEq for RecipientIdentifier
impl PartialEq for RecipientIdentifier
source§fn eq(&self, other: &RecipientIdentifier) -> bool
fn eq(&self, other: &RecipientIdentifier) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RecipientIdentifier
impl StructuralEq for RecipientIdentifier
impl StructuralPartialEq for RecipientIdentifier
Auto Trait Implementations§
impl RefUnwindSafe for RecipientIdentifier
impl Send for RecipientIdentifier
impl Sync for RecipientIdentifier
impl Unpin for RecipientIdentifier
impl UnwindSafe for RecipientIdentifier
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.