[−][src]Struct places::frecency::FrecencySettings
Fields
num_visits: i32
first_bucket_cutoff_days: i32
second_bucket_cutoff_days: i32
third_bucket_cutoff_days: i32
fourth_bucket_cutoff_days: i32
first_bucket_weight: i32
second_bucket_weight: i32
third_bucket_weight: i32
fourth_bucket_weight: i32
default_bucket_weight: i32
embed_visit_bonus: i32
framed_link_visit_bonus: i32
link_visit_bonus: i32
typed_visit_bonus: i32
bookmark_visit_bonus: i32
download_visit_bonus: i32
permanent_redirect_visit_bonus: i32
temporary_redirect_visit_bonus: i32
redirect_source_visit_bonus: i32
default_visit_bonus: i32
unvisited_bookmark_bonus: i32
unvisited_typed_bonus: i32
reload_visit_bonus: i32
Implementations
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>,