pub enum GpgVerification {
Valid {
commit: String,
fingerprint: Option<String>,
},
Unsigned {
commit: String,
},
Invalid {
commit: String,
reason: String,
},
NoCommits,
}Expand description
GPG signature verification result.
Variants§
Valid
Commit is signed with a valid GPG signature.
Unsigned
Commit exists but is not signed.
Invalid
Commit has an invalid or untrusted signature.
NoCommits
No commits exist on the branch.
Trait Implementations§
Source§impl Clone for GpgVerification
impl Clone for GpgVerification
Source§fn clone(&self) -> GpgVerification
fn clone(&self) -> GpgVerification
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 GpgVerification
impl Debug for GpgVerification
Source§impl PartialEq for GpgVerification
impl PartialEq for GpgVerification
impl StructuralPartialEq for GpgVerification
Auto Trait Implementations§
impl Freeze for GpgVerification
impl RefUnwindSafe for GpgVerification
impl Send for GpgVerification
impl Sync for GpgVerification
impl Unpin for GpgVerification
impl UnsafeUnpin for GpgVerification
impl UnwindSafe for GpgVerification
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