pub enum FormulaCondition {
Text(TextCondition),
Number(NumberCondition),
Checkbox(CheckboxCondition),
Date(DateCondition),
}
Variants§
Text(TextCondition)
Only return pages where the result type of the page property formula is “text” and the provided text filter condition matches the formula’s value.
Number(NumberCondition)
Only return pages where the result type of the page property formula is “number” and the provided number filter condition matches the formula’s value.
Checkbox(CheckboxCondition)
Only return pages where the result type of the page property formula is “checkbox” and the provided checkbox filter condition matches the formula’s value.
Date(DateCondition)
Only return pages where the result type of the page property formula is “date” and the provided date filter condition matches the formula’s value.
Trait Implementations§
Source§impl Clone for FormulaCondition
impl Clone for FormulaCondition
Source§fn clone(&self) -> FormulaCondition
fn clone(&self) -> FormulaCondition
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 FormulaCondition
impl Debug for FormulaCondition
Source§impl PartialEq for FormulaCondition
impl PartialEq for FormulaCondition
Source§impl Serialize for FormulaCondition
impl Serialize for FormulaCondition
impl Eq for FormulaCondition
impl StructuralPartialEq for FormulaCondition
Auto Trait Implementations§
impl Freeze for FormulaCondition
impl RefUnwindSafe for FormulaCondition
impl Send for FormulaCondition
impl Sync for FormulaCondition
impl Unpin for FormulaCondition
impl UnwindSafe for FormulaCondition
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.