pub struct VerifyOptions {
pub fleet: Fleet,
pub transparency_included: bool,
pub time_anchored: bool,
pub time_attested_at: Option<String>,
pub multi_log_quorum: bool,
pub accepted_labels: Vec<String>,
}Expand description
The verification inputs a transport collects, in the shape every surface already speaks: field names match the JSON options of the HTTP endpoint, the browser binding, and the CLI flags.
Fields§
§fleet: FleetWhich algorithms the verifier fleet checks.
transparency_included: boolTransparency inclusion was verified for this artifact.
time_anchored: boolAn external time anchor was verified.
time_attested_at: Option<String>Externally-attested time (RFC 3339) from a verified time authority.
multi_log_quorum: boolThe M-of-K multi-log quorum was met.
accepted_labels: Vec<String>Classification labels this verifier accepts (empty = reject everything).
Trait Implementations§
Source§impl Clone for VerifyOptions
impl Clone for VerifyOptions
Source§fn clone(&self) -> VerifyOptions
fn clone(&self) -> VerifyOptions
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 VerifyOptions
impl Debug for VerifyOptions
Source§impl Default for VerifyOptions
impl Default for VerifyOptions
Source§impl<'de> Deserialize<'de> for VerifyOptionswhere
VerifyOptions: Default,
impl<'de> Deserialize<'de> for VerifyOptionswhere
VerifyOptions: Default,
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
Auto Trait Implementations§
impl Freeze for VerifyOptions
impl RefUnwindSafe for VerifyOptions
impl Send for VerifyOptions
impl Sync for VerifyOptions
impl Unpin for VerifyOptions
impl UnsafeUnpin for VerifyOptions
impl UnwindSafe for VerifyOptions
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