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
sourceimpl RevocationKey
impl RevocationKey
pub fn new(
class: RevocationKeyClass,
algorithm: PublicKeyAlgorithm,
fingerprint: &[u8]
) -> Self
Trait Implementations
sourceimpl Clone for RevocationKey
impl Clone for RevocationKey
sourcefn clone(&self) -> RevocationKey
fn clone(&self) -> RevocationKey
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 more
sourceimpl Debug for RevocationKey
impl Debug for RevocationKey
sourceimpl PartialEq<RevocationKey> for RevocationKey
impl PartialEq<RevocationKey> for RevocationKey
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &RevocationKey) -> bool
fn ne(&self, other: &RevocationKey) -> bool
This method tests for !=
.
impl Eq for RevocationKey
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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