pub struct WireFact {
pub at: Option<String>,
pub by: Option<String>,
pub confidence: Option<f64>,
pub entity: Option<String>,
pub evidence: Option<String>,
pub id: Option<String>,
pub knowable: Option<String>,
pub names: Option<bool>,
pub relation: Option<String>,
pub seen: Option<String>,
pub source: Option<String>,
pub value: Option<String>,
}Fields§
§at: Option<String>At is when the thing was so, RFC 3339, as the asserter gave it.
by: Option<String>By is the identity that filed it — owner or owner/user — stamped from the validated principal at the write, never from the body.
confidence: Option<f64>Confidence in [0,1] as the asserter gave it; absent is 0. It breaks a tie between two assertions equally knowable and decides nothing else.
entity: Option<String>Entity is the thing described, in the organization’s own namespace.
evidence: Option<String>Evidence points at the record the claim came from. Absent when the asserter gave none.
id: Option<String>ID is the assertion’s content address, minted by the server from what was asserted. Two callers who assert the identical thing land on one ID and one row; changing any asserted field makes a different ID and a second row.
knowable: Option<String>Knowable is the first instant this plane could have answered with the assertion, RFC 3339: the later of Seen and the server’s clock at the write. Derived and never supplied, which is what stops history filed today from being backdated into a past read.
names: Option<bool>Names true means the assertion is an edge and Value is an entity. A walk reads only these.
relation: Option<String>Relation is what was asserted of it.
seen: Option<String>Seen is when the asserter says it became knowable, RFC 3339. Provenance only — Knowable is what an as-of read is bounded by.
source: Option<String>Source names who asserted, as the caller gave it. This plane ranks no source above another, so it never outweighs a later Knowable.
value: Option<String>Value is what the relation points at: another entity’s key when Names is true, otherwise a scalar.