pub enum DateCondition {
}
Variants§
Equals(DateTime<Utc>)
Only return pages where the page property value matches the provided date exactly. Note that the comparison is done against the date. Any time information sent will be ignored.
Before(DateTime<Utc>)
Only return pages where the page property value is before the provided date. Note that the comparison is done against the date. Any time information sent will be ignored.
After(DateTime<Utc>)
Only return pages where the page property value is after the provided date. Note that the comparison is done against the date. Any time information sent will be ignored.
OnOrBefore(DateTime<Utc>)
Only return pages where the page property value is on or before the provided date. Note that the comparison is done against the date. Any time information sent will be ignored.
OnOrAfter(DateTime<Utc>)
Only return pages where the page property value is on or after the provided date. Note that the comparison is done against the date. Any time information sent will be ignored.
IsEmpty
Only return pages where the page property value is empty.
IsNotEmpty
Only return pages where the page property value is present.
PastWeek
Only return pages where the page property value is within the past week.
PastMonth
Only return pages where the page property value is within the past month.
PastYear
Only return pages where the page property value is within the past year.
NextWeek
Only return pages where the page property value is within the next week.
NextMonth
Only return pages where the page property value is within the next month.
NextYear
Only return pages where the page property value is within the next year.
Trait Implementations§
Source§impl Clone for DateCondition
impl Clone for DateCondition
Source§fn clone(&self) -> DateCondition
fn clone(&self) -> DateCondition
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for DateCondition
impl Debug for DateCondition
Source§impl PartialEq for DateCondition
impl PartialEq for DateCondition
Source§impl Serialize for DateCondition
impl Serialize for DateCondition
impl Eq for DateCondition
impl StructuralPartialEq for DateCondition
Auto Trait Implementations§
impl Freeze for DateCondition
impl RefUnwindSafe for DateCondition
impl Send for DateCondition
impl Sync for DateCondition
impl Unpin for DateCondition
impl UnwindSafe for DateCondition
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
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
key
and return true
if they are equal.