pub struct GroundingEvidence {
pub evidence_type: String,
pub id: String,
pub score: f64,
pub summary: String,
pub data: Metadata,
}Expand description
A piece of evidence returned by grounding.
Intentionally flexible — each sister populates the fields relevant to its domain. Memory returns nodes, Vision returns observations, Identity returns trust grants + receipts, etc.
Fields§
§evidence_type: StringEvidence type (sister-specific: “memory_node”, “observation”, “trust_grant”, “receipt”, “code_symbol”, etc.)
id: StringEvidence identifier (node_id, observation_id, grant_id, etc.)
score: f64Relevance score (higher = more relevant)
summary: StringHuman-readable summary of the evidence
data: MetadataSister-specific structured data
Implementations§
Trait Implementations§
Source§impl Clone for GroundingEvidence
impl Clone for GroundingEvidence
Source§fn clone(&self) -> GroundingEvidence
fn clone(&self) -> GroundingEvidence
Returns a duplicate of the value. Read more
1.0.0 · 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 GroundingEvidence
impl Debug for GroundingEvidence
Source§impl<'de> Deserialize<'de> for GroundingEvidence
impl<'de> Deserialize<'de> for GroundingEvidence
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 GroundingEvidence
impl RefUnwindSafe for GroundingEvidence
impl Send for GroundingEvidence
impl Sync for GroundingEvidence
impl Unpin for GroundingEvidence
impl UnsafeUnpin for GroundingEvidence
impl UnwindSafe for GroundingEvidence
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