pub struct ObservedPosture {
pub checkpoint: (Suite, SignatureLevel),
pub vrf_suite_id: u8,
pub commitment_hash: CommitmentHash,
}Expand description
A snapshot of an artifact’s observed crypto posture, for a single
declared == observed check against the active NamespacePolicy.
Fields§
§checkpoint: (Suite, SignatureLevel)The observed checkpoint (Suite, SignatureLevel) (decoded from the
checkpoint key/signature via the metamorphic-crypto accessors).
vrf_suite_id: u8The observed CONIKS crate::vrf::Vrf::suite_id.
commitment_hash: CommitmentHashThe observed commitment-hash parameter.
Trait Implementations§
Source§impl Clone for ObservedPosture
impl Clone for ObservedPosture
Source§fn clone(&self) -> ObservedPosture
fn clone(&self) -> ObservedPosture
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ObservedPosture
impl Debug for ObservedPosture
impl Eq for ObservedPosture
Source§impl PartialEq for ObservedPosture
impl PartialEq for ObservedPosture
Source§fn eq(&self, other: &ObservedPosture) -> bool
fn eq(&self, other: &ObservedPosture) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ObservedPosture
Auto Trait Implementations§
impl Freeze for ObservedPosture
impl RefUnwindSafe for ObservedPosture
impl Send for ObservedPosture
impl Sync for ObservedPosture
impl Unpin for ObservedPosture
impl UnsafeUnpin for ObservedPosture
impl UnwindSafe for ObservedPosture
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