pub struct ReferenceSet {Show 13 fields
pub age: Option<String>,
pub as_of: Option<String>,
pub keys: Option<i32>,
pub kind: Option<String>,
pub match: Option<String>,
pub max_age: Option<String>,
pub overrides: Option<i32>,
pub refusal: Option<String>,
pub set: Option<String>,
pub sources: Option<Vec<ReferenceSource>>,
pub stale: Option<bool>,
pub version: Option<String>,
pub what: Option<String>,
}Fields§
§age: Option<String>Age is how long ago that was.
as_of: Option<String>AsOf is when the OLDEST contributing publisher was current, RFC 3339. The oldest and not the newest: a set is exactly as fresh as its weakest source.
keys: Option<i32>Keys is how many members the baseline carries.
kind: Option<String>Kind is how the baseline comes to exist: fetch (downloaded from a publisher), local (computed here), attest (held by the component that screens against it, freshness reported), or gap (declared and NOT held, because the source needs a licence we do not have).
match: Option<String>Match is how a key is tested: exact, domain, net, digits, pattern or range.
max_age: Option<String>MaxAge is how old this set may be before it is stale.
overrides: Option<i32>Overrides is how many entries YOUR org has laid over this baseline.
refusal: Option<String>Refusal names why the set cannot be relied on, when it cannot: never loaded, held elsewhere, or a licence we do not hold. Non-empty means a lookup against this set will not answer, rather than answering clean.
set: Option<String>Set is the name this set is addressed by.
sources: Option<Vec<ReferenceSource>>Sources is each contributing publisher, its licence and its own freshness.
stale: Option<bool>Stale is whether it is past that bound. A stale set still answers and says so, because yesterday’s list beats none.
version: Option<String>Version is the exact baseline consulted — every contributing publisher and its content digest. A decision records this and an auditor resolves it back.
what: Option<String>What the set holds, in one sentence.
Implementations§
Source§impl ReferenceSet
impl ReferenceSet
pub fn new() -> ReferenceSet
Trait Implementations§
Source§impl Clone for ReferenceSet
impl Clone for ReferenceSet
Source§fn clone(&self) -> ReferenceSet
fn clone(&self) -> ReferenceSet
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more