pub struct GraphResolveOut {
pub as_of: Option<String>,
pub conflicts: Option<Vec<WireFact>>,
pub contested: Option<bool>,
pub entity: Option<String>,
pub known: Option<bool>,
pub relation: Option<String>,
pub truncated: Option<bool>,
pub winner: Option<Box<WireFact>>,
}Fields§
§as_of: Option<String>AsOf is the instant this answer was taken at, RFC 3339: the one asked for, or the server’s clock when none was.
conflicts: Option<Vec<WireFact>>Conflicts is every OTHER assertion knowable at AsOf, strongest first. They are not all disagreements: one that repeats the winner’s value ranks below it and is listed here too.
contested: Option<bool>Contested is true when at least one conflict claims a value different from the winner’s. Any number of conflicts that all agree leaves it false.
entity: Option<String>Entity is the entity the question named, echoed so a stored answer still says what it is about.
known: Option<bool>Known is false when this plane held nothing knowable at AsOf. That is an answer, not an error.
relation: Option<String>Relation is the relation the question named, echoed for the same reason.
truncated: Option<bool>Truncated says this pair holds more assertions than one read returns, so the winner was decided from the most recent ceiling-full of them. It is reported because a provenance plane that trims silently is a plane that answers confidently and wrongly; narrow the question with as_of to see what it dropped.
winner: Option<Box<WireFact>>Winner is the assertion in force — the strongest of those knowable at AsOf under the order rule names. Absent exactly when Known is false.
Implementations§
Source§impl GraphResolveOut
impl GraphResolveOut
pub fn new() -> GraphResolveOut
Trait Implementations§
Source§impl Clone for GraphResolveOut
impl Clone for GraphResolveOut
Source§fn clone(&self) -> GraphResolveOut
fn clone(&self) -> GraphResolveOut
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more