pub enum OriginatorIdentifierOrKey {
IssuerAndSerialNumber(IssuerAndSerialNumber),
SubjectKeyIdentifier(OctetString),
OriginatorKey(OriginatorPublicKey),
}Expand description
Originator identifier or key.
OriginatorIdentifierOrKey ::= CHOICE {
issuerAndSerialNumber IssuerAndSerialNumber,
subjectKeyIdentifier [0] SubjectKeyIdentifier,
originatorKey [1] OriginatorPublicKey }Variants
IssuerAndSerialNumber(IssuerAndSerialNumber)
SubjectKeyIdentifier(OctetString)
OriginatorKey(OriginatorPublicKey)
Trait Implementations
sourceimpl Clone for OriginatorIdentifierOrKey
impl Clone for OriginatorIdentifierOrKey
sourcefn clone(&self) -> OriginatorIdentifierOrKey
fn clone(&self) -> OriginatorIdentifierOrKey
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for OriginatorIdentifierOrKey
impl Debug for OriginatorIdentifierOrKey
sourceimpl PartialEq<OriginatorIdentifierOrKey> for OriginatorIdentifierOrKey
impl PartialEq<OriginatorIdentifierOrKey> for OriginatorIdentifierOrKey
sourcefn eq(&self, other: &OriginatorIdentifierOrKey) -> bool
fn eq(&self, other: &OriginatorIdentifierOrKey) -> bool
impl Eq for OriginatorIdentifierOrKey
impl StructuralEq for OriginatorIdentifierOrKey
impl StructuralPartialEq for OriginatorIdentifierOrKey
Auto Trait Implementations
impl RefUnwindSafe for OriginatorIdentifierOrKey
impl Send for OriginatorIdentifierOrKey
impl Sync for OriginatorIdentifierOrKey
impl Unpin for OriginatorIdentifierOrKey
impl UnwindSafe for OriginatorIdentifierOrKey
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.