pub struct LearnedFact {
pub key: String,
pub value: String,
pub source: String,
pub confidence: f32,
pub learned_at_ms: u64,
}Expand description
A fact learned about the project.
Fields§
§key: StringKey for lookup.
value: StringValue.
source: StringSource of the fact.
confidence: f32Confidence (0.0-1.0).
learned_at_ms: u64When the fact was learned.
Implementations§
Trait Implementations§
Source§impl Clone for LearnedFact
impl Clone for LearnedFact
Source§fn clone(&self) -> LearnedFact
fn clone(&self) -> LearnedFact
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 LearnedFact
impl Debug for LearnedFact
Source§impl<'de> Deserialize<'de> for LearnedFact
impl<'de> Deserialize<'de> for LearnedFact
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 LearnedFact
impl RefUnwindSafe for LearnedFact
impl Send for LearnedFact
impl Sync for LearnedFact
impl Unpin for LearnedFact
impl UnsafeUnpin for LearnedFact
impl UnwindSafe for LearnedFact
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