Struct speki_backend::filter::FilterUtil
source · pub struct FilterUtil {Show 21 fields
pub allowed_cards: Vec<Id>,
pub disallowed_cards: Vec<Id>,
pub allowed_categories: Vec<Category>,
pub excluded_categories: Vec<Category>,
pub contains: Option<String>,
pub tags: Vec<String>,
pub suspended: Option<bool>,
pub resolved: Option<bool>,
pub pending: Option<bool>,
pub finished: Option<bool>,
pub max_strength: Option<Duration>,
pub min_strength: Option<Duration>,
pub max_stability: Option<Duration>,
pub min_stability: Option<Duration>,
pub max_recall_rate: Option<f32>,
pub min_recall_rate: Option<f32>,
pub max_lapses: Option<u32>,
pub all_dependencies: Option<Box<Self>>,
pub any_dependencies: Option<Box<Self>>,
pub all_dependents: Option<Box<Self>>,
pub any_dependents: Option<Box<Self>>,
}Fields§
§allowed_cards: Vec<Id>§disallowed_cards: Vec<Id>§allowed_categories: Vec<Category>§excluded_categories: Vec<Category>§contains: Option<String>§suspended: Option<bool>§resolved: Option<bool>§pending: Option<bool>§finished: Option<bool>§max_strength: Option<Duration>§min_strength: Option<Duration>§max_stability: Option<Duration>§min_stability: Option<Duration>§max_recall_rate: Option<f32>§min_recall_rate: Option<f32>§max_lapses: Option<u32>§all_dependencies: Option<Box<Self>>§any_dependencies: Option<Box<Self>>§all_dependents: Option<Box<Self>>§any_dependents: Option<Box<Self>>Implementations§
source§impl FilterUtil
impl FilterUtil
Trait Implementations§
source§impl Clone for FilterUtil
impl Clone for FilterUtil
source§fn clone(&self) -> FilterUtil
fn clone(&self) -> FilterUtil
Returns a copy 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 FilterUtil
impl Debug for FilterUtil
source§impl Default for FilterUtil
impl Default for FilterUtil
source§fn default() -> FilterUtil
fn default() -> FilterUtil
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FilterUtil
impl<'de> Deserialize<'de> for FilterUtil
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for FilterUtil
impl Send for FilterUtil
impl Sync for FilterUtil
impl Unpin for FilterUtil
impl UnwindSafe for FilterUtil
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