pub struct ScoredFact {
pub fact: Fact,
pub score: f32,
pub signals: Signals,
}Expand description
A recalled fact with its score.
Fields§
§fact: Fact§score: f32§signals: SignalsTrait Implementations§
Source§impl Clone for ScoredFact
impl Clone for ScoredFact
Source§impl Debug for ScoredFact
impl Debug for ScoredFact
Source§impl<'de> Deserialize<'de> for ScoredFact
impl<'de> Deserialize<'de> for ScoredFact
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 ScoredFact
impl PartialEq for ScoredFact
Source§impl Serialize for ScoredFact
impl Serialize for ScoredFact
impl StructuralPartialEq for ScoredFact
Auto Trait Implementations§
impl Forget for ScoredFact
impl Freeze for ScoredFact
impl Move for ScoredFact
impl RefUnwindSafe for ScoredFact
impl Send for ScoredFact
impl Sync for ScoredFact
impl Unpin for ScoredFact
impl UnsafeUnpin for ScoredFact
impl UnwindSafe for ScoredFact
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more