pub struct DriftParams {
pub topic: String,
pub topic_vec: Option<Vec<f32>>,
pub max_results: usize,
pub min_relevance: f32,
}Expand description
Parameters for drift detection.
Fields§
§topic: StringTopic to track drift for (will be tokenized for term matching).
topic_vec: Option<Vec<f32>>Optional feature vector for the topic (for similarity search).
max_results: usizeMaximum number of timelines to return.
min_relevance: f32Minimum relevance score to consider a node part of the topic.
Trait Implementations§
Source§impl Clone for DriftParams
impl Clone for DriftParams
Source§fn clone(&self) -> DriftParams
fn clone(&self) -> DriftParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DriftParams
impl RefUnwindSafe for DriftParams
impl Send for DriftParams
impl Sync for DriftParams
impl Unpin for DriftParams
impl UnsafeUnpin for DriftParams
impl UnwindSafe for DriftParams
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