pub struct SuspendCriteria {
pub max_ease: i64,
pub min_lapses: i64,
pub require_both: bool,
}Expand description
Criteria for suspending cards.
Fields§
§max_ease: i64Maximum ease factor (cards with ease below this may be suspended).
min_lapses: i64Minimum lapse count (cards with lapses above this may be suspended).
require_both: boolWhether both conditions must be met (AND) or just one (OR).
Trait Implementations§
Source§impl Clone for SuspendCriteria
impl Clone for SuspendCriteria
Source§fn clone(&self) -> SuspendCriteria
fn clone(&self) -> SuspendCriteria
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 SuspendCriteria
impl Debug for SuspendCriteria
Auto Trait Implementations§
impl Freeze for SuspendCriteria
impl RefUnwindSafe for SuspendCriteria
impl Send for SuspendCriteria
impl Sync for SuspendCriteria
impl Unpin for SuspendCriteria
impl UnwindSafe for SuspendCriteria
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