Struct jj_lib::signing::Verification
source · pub struct Verification {
pub status: SigStatus,
pub key: Option<String>,
pub display: Option<String>,
}
Expand description
The result of a signature verification. Key and display are optional additional info that backends can or can not provide to add additional information for the templater to potentially show.
Fields§
§status: SigStatus
The status of the signature.
key: Option<String>
The key id representation, if available. For GPG, this will be the key fingerprint.
display: Option<String>
A display string, if available. For GPG, this will be formatted primary user ID.
Implementations§
source§impl Verification
impl Verification
Trait Implementations§
source§impl Clone for Verification
impl Clone for Verification
source§fn clone(&self) -> Verification
fn clone(&self) -> Verification
Returns a copy 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 Verification
impl Debug for Verification
source§impl PartialEq for Verification
impl PartialEq for Verification
source§fn eq(&self, other: &Verification) -> bool
fn eq(&self, other: &Verification) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for Verification
impl StructuralPartialEq for Verification
Auto Trait Implementations§
impl RefUnwindSafe for Verification
impl Send for Verification
impl Sync for Verification
impl Unpin for Verification
impl UnwindSafe for Verification
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more