Enum notion_wasi::models::search::FormulaCondition
source · 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<FormulaCondition> for FormulaCondition
impl PartialEq<FormulaCondition> for FormulaCondition
source§fn eq(&self, other: &FormulaCondition) -> bool
fn eq(&self, other: &FormulaCondition) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for FormulaCondition
impl Serialize for FormulaCondition
impl Eq for FormulaCondition
impl StructuralEq for FormulaCondition
impl StructuralPartialEq for FormulaCondition
Auto Trait Implementations§
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.