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