pub struct SelectionPolicy {
pub top_k: usize,
pub min_score: f32,
pub include_tags: Vec<String>,
pub exclude_tags: Vec<String>,
}Fields§
§top_k: usize§min_score: f32Trait Implementations§
Source§impl Clone for SelectionPolicy
impl Clone for SelectionPolicy
Source§fn clone(&self) -> SelectionPolicy
fn clone(&self) -> SelectionPolicy
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 moreSource§impl Debug for SelectionPolicy
impl Debug for SelectionPolicy
Auto Trait Implementations§
impl Freeze for SelectionPolicy
impl RefUnwindSafe for SelectionPolicy
impl Send for SelectionPolicy
impl Sync for SelectionPolicy
impl Unpin for SelectionPolicy
impl UnsafeUnpin for SelectionPolicy
impl UnwindSafe for SelectionPolicy
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