pub struct RetrievalMatch {
pub text: String,
pub score: f64,
pub metadata: RetrievalMetadata,
pub extra: Map<String, Value>,
}Fields§
§text: String§score: f64§metadata: RetrievalMetadata§extra: Map<String, Value>Trait Implementations§
Source§impl Clone for RetrievalMatch
impl Clone for RetrievalMatch
Source§fn clone(&self) -> RetrievalMatch
fn clone(&self) -> RetrievalMatch
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 RetrievalMatch
impl Debug for RetrievalMatch
Source§impl Default for RetrievalMatch
impl Default for RetrievalMatch
Source§fn default() -> RetrievalMatch
fn default() -> RetrievalMatch
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RetrievalMatch
impl<'de> Deserialize<'de> for RetrievalMatch
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 RetrievalMatch
impl PartialEq for RetrievalMatch
Source§impl Serialize for RetrievalMatch
impl Serialize for RetrievalMatch
impl StructuralPartialEq for RetrievalMatch
Auto Trait Implementations§
impl Freeze for RetrievalMatch
impl RefUnwindSafe for RetrievalMatch
impl Send for RetrievalMatch
impl Sync for RetrievalMatch
impl Unpin for RetrievalMatch
impl UnsafeUnpin for RetrievalMatch
impl UnwindSafe for RetrievalMatch
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