pub struct RecallCandidate {
pub source: Option<String>,
pub content: String,
pub score: Option<f64>,
}Fields§
§source: Option<String>§content: String§score: Option<f64>Trait Implementations§
Source§impl Clone for RecallCandidate
impl Clone for RecallCandidate
Source§fn clone(&self) -> RecallCandidate
fn clone(&self) -> RecallCandidate
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 RecallCandidate
impl Debug for RecallCandidate
Source§impl<'de> Deserialize<'de> for RecallCandidate
impl<'de> Deserialize<'de> for RecallCandidate
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 RecallCandidate
impl PartialEq for RecallCandidate
Source§fn eq(&self, other: &RecallCandidate) -> bool
fn eq(&self, other: &RecallCandidate) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RecallCandidate
impl Serialize for RecallCandidate
impl StructuralPartialEq for RecallCandidate
Auto Trait Implementations§
impl Freeze for RecallCandidate
impl RefUnwindSafe for RecallCandidate
impl Send for RecallCandidate
impl Sync for RecallCandidate
impl Unpin for RecallCandidate
impl UnsafeUnpin for RecallCandidate
impl UnwindSafe for RecallCandidate
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