pub enum RelationCondition {
Contains(PageId),
DoesNotContain(PageId),
IsEmpty,
IsNotEmpty,
}
Variants§
Contains(PageId)
Only return pages where the page property value contains the provided value.
DoesNotContain(PageId)
Only return pages where the page property value does not contain the provided value.
IsEmpty
Only return pages where the page property value is empty.
IsNotEmpty
Only return pages where the page property value is present.
Trait Implementations§
Source§impl Clone for RelationCondition
impl Clone for RelationCondition
Source§fn clone(&self) -> RelationCondition
fn clone(&self) -> RelationCondition
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 RelationCondition
impl Debug for RelationCondition
Source§impl PartialEq for RelationCondition
impl PartialEq for RelationCondition
Source§impl Serialize for RelationCondition
impl Serialize for RelationCondition
impl Eq for RelationCondition
impl StructuralPartialEq for RelationCondition
Auto Trait Implementations§
impl Freeze for RelationCondition
impl RefUnwindSafe for RelationCondition
impl Send for RelationCondition
impl Sync for RelationCondition
impl Unpin for RelationCondition
impl UnwindSafe for RelationCondition
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.