pub enum AuditEntryFormat {
V1,
V2,
}Expand description
Signed layout of an audit entry.
Variants§
V1
The original layout: signs JSON of the action and authorization, one outcome bit and whole-second time, verified against the embedded key.
V2
Canonical CBOR body, every field signed, verified against the key
registry. See crate::entry_v2.
Trait Implementations§
Source§impl Clone for AuditEntryFormat
impl Clone for AuditEntryFormat
impl Copy for AuditEntryFormat
Source§impl Debug for AuditEntryFormat
impl Debug for AuditEntryFormat
Source§impl Default for AuditEntryFormat
impl Default for AuditEntryFormat
impl Eq for AuditEntryFormat
Source§impl PartialEq for AuditEntryFormat
impl PartialEq for AuditEntryFormat
impl StructuralPartialEq for AuditEntryFormat
Auto Trait Implementations§
impl Freeze for AuditEntryFormat
impl RefUnwindSafe for AuditEntryFormat
impl Send for AuditEntryFormat
impl Sync for AuditEntryFormat
impl Unpin for AuditEntryFormat
impl UnsafeUnpin for AuditEntryFormat
impl UnwindSafe for AuditEntryFormat
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.