[−][src]Struct places::frecency::FrecencySettings
Fields
num_visits: i32first_bucket_cutoff_days: i32second_bucket_cutoff_days: i32third_bucket_cutoff_days: i32fourth_bucket_cutoff_days: i32first_bucket_weight: i32second_bucket_weight: i32third_bucket_weight: i32fourth_bucket_weight: i32default_bucket_weight: i32embed_visit_bonus: i32framed_link_visit_bonus: i32link_visit_bonus: i32typed_visit_bonus: i32bookmark_visit_bonus: i32download_visit_bonus: i32permanent_redirect_visit_bonus: i32temporary_redirect_visit_bonus: i32redirect_source_visit_bonus: i32default_visit_bonus: i32unvisited_bookmark_bonus: i32unvisited_typed_bonus: i32reload_visit_bonus: i32Implementations
impl FrecencySettings[src]
pub fn get_transition_bonus(
&self,
visit_type: Option<VisitTransition>,
visited: bool,
redirect: bool
) -> i32[src]
&self,
visit_type: Option<VisitTransition>,
visited: bool,
redirect: bool
) -> i32
fn get_frecency_aged_weight(&self, age_in_days: i32) -> i32[src]
Trait Implementations
impl Clone for FrecencySettings[src]
fn clone(&self) -> FrecencySettings[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for FrecencySettings[src]
impl Default for FrecencySettings[src]
impl PartialEq<FrecencySettings> for FrecencySettings[src]
fn eq(&self, other: &FrecencySettings) -> bool[src]
fn ne(&self, other: &FrecencySettings) -> bool[src]
impl StructuralPartialEq for FrecencySettings[src]
Auto Trait Implementations
impl RefUnwindSafe for FrecencySettings
impl Send for FrecencySettings
impl Sync for FrecencySettings
impl Unpin for FrecencySettings
impl UnwindSafe for FrecencySettings
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,