pub struct TransparencyInputs {
pub artifact_included: bool,
pub multi_log_quorum: bool,
pub time_anchored: bool,
pub time_attested_at: Option<DateTime<Utc>>,
pub downgrades: Vec<String>,
}Expand description
Soft-check inputs the pipeline cannot derive on its own.
Fields§
§artifact_included: boolWhether inclusion proofs were verified for the artifact against a recognized log (from the bundle’s log set).
multi_log_quorum: boolWhether the M-of-K multi-log quorum was met.
time_anchored: boolWhether a time-anchor attestation was verified (see crate::time).
time_attested_at: Option<DateTime<Utc>>The externally-attested time from a verified [crate::time:: TimeAttestation] — the freshness source preferred over the
signer’s self-asserted block timestamps (§8.8).
downgrades: Vec<String>Downgrade reasons the caller’s soft checks produced (e.g. “transparency_missing”, “time_anchor_absent”).
Trait Implementations§
Source§impl Clone for TransparencyInputs
impl Clone for TransparencyInputs
Source§fn clone(&self) -> TransparencyInputs
fn clone(&self) -> TransparencyInputs
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 TransparencyInputs
impl Debug for TransparencyInputs
Source§impl Default for TransparencyInputs
impl Default for TransparencyInputs
Source§fn default() -> TransparencyInputs
fn default() -> TransparencyInputs
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TransparencyInputs
impl RefUnwindSafe for TransparencyInputs
impl Send for TransparencyInputs
impl Sync for TransparencyInputs
impl Unpin for TransparencyInputs
impl UnsafeUnpin for TransparencyInputs
impl UnwindSafe for TransparencyInputs
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