pub enum OpsVersionSpecific {
V3 {
key_id: KeyId,
},
V6 {
salt: Vec<u8>,
fingerprint: [u8; 32],
},
}
Expand description
Version-specific elements of a One-Pass Signature Packet:
- A v3 OPS contains the
key_id
of the signer. - A v6 OPS contains the v6
fingerprint
of the signer, and thesalt
used in the corresponding signature packet.
Variants§
Trait Implementations§
Source§impl Clone for OpsVersionSpecific
impl Clone for OpsVersionSpecific
Source§fn clone(&self) -> OpsVersionSpecific
fn clone(&self) -> OpsVersionSpecific
Returns a duplicate 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 OpsVersionSpecific
impl Debug for OpsVersionSpecific
Source§impl PartialEq for OpsVersionSpecific
impl PartialEq for OpsVersionSpecific
impl Eq for OpsVersionSpecific
impl StructuralPartialEq for OpsVersionSpecific
Auto Trait Implementations§
impl Freeze for OpsVersionSpecific
impl RefUnwindSafe for OpsVersionSpecific
impl Send for OpsVersionSpecific
impl Sync for OpsVersionSpecific
impl Unpin for OpsVersionSpecific
impl UnwindSafe for OpsVersionSpecific
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