pub struct ChunkCandidate {
pub id: String,
pub text: String,
pub keyword_hint: String,
pub recency: f64,
pub graph_distance: f64,
pub failure_relevance: f64,
}Fields§
§id: String§text: String§keyword_hint: String§recency: f64§graph_distance: f64§failure_relevance: f64Trait Implementations§
Source§impl Clone for ChunkCandidate
impl Clone for ChunkCandidate
Source§fn clone(&self) -> ChunkCandidate
fn clone(&self) -> ChunkCandidate
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 ChunkCandidate
impl Debug for ChunkCandidate
Source§impl<'de> Deserialize<'de> for ChunkCandidate
impl<'de> Deserialize<'de> for ChunkCandidate
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 ChunkCandidate
impl RefUnwindSafe for ChunkCandidate
impl Send for ChunkCandidate
impl Sync for ChunkCandidate
impl Unpin for ChunkCandidate
impl UnsafeUnpin for ChunkCandidate
impl UnwindSafe for ChunkCandidate
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