pub struct Opened {
pub kind: Kind,
pub project: String,
pub install: Option<String>,
pub sequence: u64,
pub not_after: Option<DateTime<Utc>>,
pub signer_list_version: u64,
pub digest: String,
pub bytes: Vec<u8>,
pub signatures: Vec<Signature>,
}Expand description
A decoded statement whose signatures are not yet checked.
Fields§
§kind: KindStatement kind.
project: StringProject the statement names.
install: Option<String>Install the statement names.
sequence: u64Sequence.
not_after: Option<DateTime<Utc>>Expiry.
signer_list_version: u64Signer list version the signer took its keys from.
digest: Stringsha256:<hex> of the payload bytes. It identifies the statement exactly.
bytes: Vec<u8>The payload bytes that were signed.
signatures: Vec<Signature>Signatures over bytes.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Opened
impl Freeze for Opened
impl Move for Opened
impl RefUnwindSafe for Opened
impl Send for Opened
impl Sync for Opened
impl Unpin for Opened
impl UnsafeUnpin for Opened
impl UnwindSafe for Opened
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