pub enum Signature {
KeyBlock(String),
KeyPath(PathBuf),
}
Expand description
A type to store
Variants§
KeyBlock(String)
The PGP key is stored inside the .sources
files
KeyPath(PathBuf)
The public key is store in a file of the given path
Trait Implementations§
impl StructuralPartialEq for Signature
Auto Trait Implementations§
impl Freeze for Signature
impl RefUnwindSafe for Signature
impl Send for Signature
impl Sync for Signature
impl Unpin for Signature
impl UnwindSafe for Signature
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