pub struct GroundingEvidence {
pub evidence_type: String,
pub source: String,
pub content: String,
pub timestamp: u64,
pub relevance: f64,
}Expand description
A piece of grounding evidence.
Fields§
§evidence_type: StringWhat kind of evidence (channel, message, consent, trust, etc.).
source: StringSource of the evidence (e.g. “messages”, “channels”, “agents”).
content: StringThe relevant data.
timestamp: u64Epoch timestamp of the evidence (seconds since Unix epoch).
relevance: f64Relevance score 0.0-1.0.
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 (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 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