pub enum SignaturePlacement {
Public,
Confidential,
}Expand description
Where a signature is written. Public signatures are readable by anyone holding the file; confidential ones only by those who can already decrypt.
Variants§
Public
In the unencrypted header. Reveals the signer to anyone with the file.
Confidential
Inside the encrypted metadata. Hides the signer from non-recipients.
Trait Implementations§
Source§impl Clone for SignaturePlacement
impl Clone for SignaturePlacement
Source§fn clone(&self) -> SignaturePlacement
fn clone(&self) -> SignaturePlacement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SignaturePlacement
Source§impl Debug for SignaturePlacement
impl Debug for SignaturePlacement
impl Eq for SignaturePlacement
Source§impl PartialEq for SignaturePlacement
impl PartialEq for SignaturePlacement
impl StructuralPartialEq for SignaturePlacement
Auto Trait Implementations§
impl Freeze for SignaturePlacement
impl RefUnwindSafe for SignaturePlacement
impl Send for SignaturePlacement
impl Sync for SignaturePlacement
impl Unpin for SignaturePlacement
impl UnsafeUnpin for SignaturePlacement
impl UnwindSafe for SignaturePlacement
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