Struct pgp::types::RevocationKey
source · pub struct RevocationKey {
pub class: RevocationKeyClass,
pub algorithm: PublicKeyAlgorithm,
pub fingerprint: SmallVec<[u8; 20]>,
}
Fields§
§class: RevocationKeyClass
§algorithm: PublicKeyAlgorithm
§fingerprint: SmallVec<[u8; 20]>
Implementations§
source§impl RevocationKey
impl RevocationKey
pub fn new( class: RevocationKeyClass, algorithm: PublicKeyAlgorithm, fingerprint: &[u8] ) -> Self
Trait Implementations§
source§impl Clone for RevocationKey
impl Clone for RevocationKey
source§fn clone(&self) -> RevocationKey
fn clone(&self) -> RevocationKey
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 RevocationKey
impl Debug for RevocationKey
source§impl PartialEq for RevocationKey
impl PartialEq for RevocationKey
source§fn eq(&self, other: &RevocationKey) -> bool
fn eq(&self, other: &RevocationKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RevocationKey
impl StructuralPartialEq for RevocationKey
Auto Trait Implementations§
impl RefUnwindSafe for RevocationKey
impl Send for RevocationKey
impl Sync for RevocationKey
impl Unpin for RevocationKey
impl UnwindSafe for RevocationKey
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