pub struct ReviewConfig {
pub per_day: i64,
pub ease4: f64,
pub fuzz: f64,
pub min_space: i64,
pub max_ivl: i64,
pub bury: bool,
pub hard_factor: f64,
}Expand description
Configuration for reviews.
Fields§
§per_day: i64Maximum reviews per day.
ease4: f64Easy bonus multiplier.
fuzz: f64Interval modifier.
min_space: i64Minimum interval.
max_ivl: i64Maximum interval in days.
bury: boolWhether to bury related reviews.
hard_factor: f64Hard interval multiplier.
Trait Implementations§
Source§impl Clone for ReviewConfig
impl Clone for ReviewConfig
Source§fn clone(&self) -> ReviewConfig
fn clone(&self) -> ReviewConfig
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 ReviewConfig
impl Debug for ReviewConfig
Source§impl<'de> Deserialize<'de> for ReviewConfig
impl<'de> Deserialize<'de> for ReviewConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ReviewConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ReviewConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ReviewConfig
impl Serialize for ReviewConfig
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ReviewConfig
impl RefUnwindSafe for ReviewConfig
impl Send for ReviewConfig
impl Sync for ReviewConfig
impl Unpin for ReviewConfig
impl UnwindSafe for ReviewConfig
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