pub struct Verified<B> {
pub kind: Kind,
pub sequence: u64,
pub digest: String,
pub not_after: Option<DateTime<Utc>>,
pub kept: bool,
pub signers: BTreeSet<String>,
pub body: B,
}Expand description
A statement that passed every check, with its body parsed.
Fields§
§kind: KindKind.
sequence: u64Sequence.
digest: Stringsha256:<hex> of the payload.
not_after: Option<DateTime<Utc>>Expiry.
kept: boolWhether the current signer list keeps this statement (keep), so no
signature was needed: its signer may have left the list.
signers: BTreeSet<String>Signer ids whose signatures counted; none for a kept statement.
body: BThe body.
Trait Implementations§
Auto Trait Implementations§
impl<B> Forget for Verified<B>
impl<B> Freeze for Verified<B>where
B: Freeze,
impl<B> Move for Verified<B>
impl<B> RefUnwindSafe for Verified<B>where
B: RefUnwindSafe,
impl<B> Send for Verified<B>where
B: Send,
impl<B> Sync for Verified<B>where
B: Sync,
impl<B> Unpin for Verified<B>where
B: Unpin,
impl<B> UnsafeUnpin for Verified<B>where
B: UnsafeUnpin,
impl<B> UnwindSafe for Verified<B>where
B: UnwindSafe,
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