pub struct Boosts {
pub title: Option<f64>,
pub heading: Option<f64>,
pub path: Option<f64>,
pub layer: Option<f64>,
pub recency: Option<f64>,
}Expand description
The multiplicative boosts of a hit, each present only when it applies.
Fields§
§title: Option<f64>§heading: Option<f64>§path: Option<f64>§layer: Option<f64>§recency: Option<f64>Reserved; never set.
Implementations§
Trait Implementations§
impl Copy for Boosts
impl StructuralPartialEq for Boosts
Auto Trait Implementations§
impl Freeze for Boosts
impl RefUnwindSafe for Boosts
impl Send for Boosts
impl Sync for Boosts
impl Unpin for Boosts
impl UnsafeUnpin for Boosts
impl UnwindSafe for Boosts
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