pub struct TrustVerificationFloorV1 {
pub minimum_metadata_generation: u64,
pub minimum_release_generation: u64,
pub metadata_digest: Option<String>,
}Expand description
Monotonic state persisted by a consumer that opts into trust-metadata lifecycle verification.
RillML does not persist this value on behalf of a host. A consumer should atomically replace it only after accepting authenticated metadata. When a digest is present, the metadata bytes at the same generation are also pinned, so a same-generation content fork fails closed.
Fields§
§minimum_metadata_generation: u64§minimum_release_generation: u64§metadata_digest: Option<String>Trait Implementations§
Source§impl Clone for TrustVerificationFloorV1
impl Clone for TrustVerificationFloorV1
Source§fn clone(&self) -> TrustVerificationFloorV1
fn clone(&self) -> TrustVerificationFloorV1
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 TrustVerificationFloorV1
impl Debug for TrustVerificationFloorV1
Source§impl<'de> Deserialize<'de> for TrustVerificationFloorV1
impl<'de> Deserialize<'de> for TrustVerificationFloorV1
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TrustVerificationFloorV1
Source§impl PartialEq for TrustVerificationFloorV1
impl PartialEq for TrustVerificationFloorV1
Source§impl Serialize for TrustVerificationFloorV1
impl Serialize for TrustVerificationFloorV1
impl StructuralPartialEq for TrustVerificationFloorV1
Auto Trait Implementations§
impl Freeze for TrustVerificationFloorV1
impl RefUnwindSafe for TrustVerificationFloorV1
impl Send for TrustVerificationFloorV1
impl Sync for TrustVerificationFloorV1
impl Unpin for TrustVerificationFloorV1
impl UnsafeUnpin for TrustVerificationFloorV1
impl UnwindSafe for TrustVerificationFloorV1
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