pub struct ResolveReferenceOut {
pub answers: Option<Vec<ReferenceAnswer>>,
pub consulted: Option<Vec<ReferenceVersion>>,
pub refused: Option<Vec<String>>,
pub stale: Option<Vec<String>>,
}Fields§
§answers: Option<Vec<ReferenceAnswer>>Answers is one entry per (set, key) consulted.
consulted: Option<Vec<ReferenceVersion>>Consulted names the version of every set that took part, so a decision can record precisely what it leaned on. Record this with the decision: it is what makes the decision reproducible a year later.
refused: Option<Vec<String>>Refused names the consulted sets that could not answer at all. A key that missed in one of these is UNKNOWN, not clean.
stale: Option<Vec<String>>Stale names the consulted sets past their freshness bound. Staleness is itself a risk signal — a decision taken against a three-week-old list is a weaker decision, and this is how it knows.
Implementations§
Source§impl ResolveReferenceOut
impl ResolveReferenceOut
pub fn new() -> ResolveReferenceOut
Trait Implementations§
Source§impl Clone for ResolveReferenceOut
impl Clone for ResolveReferenceOut
Source§fn clone(&self) -> ResolveReferenceOut
fn clone(&self) -> ResolveReferenceOut
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 ResolveReferenceOut
impl Debug for ResolveReferenceOut
Source§impl Default for ResolveReferenceOut
impl Default for ResolveReferenceOut
Source§fn default() -> ResolveReferenceOut
fn default() -> ResolveReferenceOut
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResolveReferenceOut
impl<'de> Deserialize<'de> for ResolveReferenceOut
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
Source§impl PartialEq for ResolveReferenceOut
impl PartialEq for ResolveReferenceOut
Source§impl Serialize for ResolveReferenceOut
impl Serialize for ResolveReferenceOut
impl StructuralPartialEq for ResolveReferenceOut
Auto Trait Implementations§
impl Freeze for ResolveReferenceOut
impl RefUnwindSafe for ResolveReferenceOut
impl Send for ResolveReferenceOut
impl Sync for ResolveReferenceOut
impl Unpin for ResolveReferenceOut
impl UnsafeUnpin for ResolveReferenceOut
impl UnwindSafe for ResolveReferenceOut
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