pub struct SecurityJournalV2 {
pub version: u16,
pub generation: u64,
pub previous_digest: String,
pub digest: String,
pub status_by_issuer: BTreeMap<String, RevocationStatusStateV2>,
pub key_role_history: Vec<KeyRoleBindingV2>,
pub status_key_history: Vec<StatusKeyBindingV2>,
/* private fields */
}Expand description
The state whose loss or rollback can make verification unsafe. It is a
logical record; durability and anti-rollback guarantees come from
SecurityJournalStoreV2.
Construct one with empty_security_journal_v2,
import_security_journal_snapshot_v2, or
decode_security_journal_json_v2 (or Default and field assignment).
Fields§
§version: u16§generation: u64§previous_digest: String§digest: String§status_by_issuer: BTreeMap<String, RevocationStatusStateV2>§key_role_history: Vec<KeyRoleBindingV2>§status_key_history: Vec<StatusKeyBindingV2>Trait Implementations§
Source§impl Clone for SecurityJournalV2
impl Clone for SecurityJournalV2
Source§impl Debug for SecurityJournalV2
impl Debug for SecurityJournalV2
Auto Trait Implementations§
impl Forget for SecurityJournalV2
impl Freeze for SecurityJournalV2
impl RefUnwindSafe for SecurityJournalV2
impl Send for SecurityJournalV2
impl Sync for SecurityJournalV2
impl Unpin for SecurityJournalV2
impl UnsafeUnpin for SecurityJournalV2
impl UnwindSafe for SecurityJournalV2
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