Enum stam::SelectionQualifier
source · pub enum SelectionQualifier {
Normal,
Metadata,
}Expand description
This is determines whether a query Constraint is applied normally or with a particular altered meaning.
Variants§
Normal
Normal behaviour, no changes.
Metadata
This corresponds to the TARGET or METADATA keyword in STAMQL. It indicates that the item in the constrain is an explicit annotation TARGET. It causes the logic flow to go over methods like annotations_as_metadata() instead of annotations()
Implementations§
Trait Implementations§
source§impl Clone for SelectionQualifier
impl Clone for SelectionQualifier
source§fn clone(&self) -> SelectionQualifier
fn clone(&self) -> SelectionQualifier
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 SelectionQualifier
impl Debug for SelectionQualifier
source§impl Default for SelectionQualifier
impl Default for SelectionQualifier
source§impl PartialEq for SelectionQualifier
impl PartialEq for SelectionQualifier
source§fn eq(&self, other: &SelectionQualifier) -> bool
fn eq(&self, other: &SelectionQualifier) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for SelectionQualifier
impl Eq for SelectionQualifier
impl StructuralEq for SelectionQualifier
impl StructuralPartialEq for SelectionQualifier
Auto Trait Implementations§
impl RefUnwindSafe for SelectionQualifier
impl Send for SelectionQualifier
impl Sync for SelectionQualifier
impl Unpin for SelectionQualifier
impl UnwindSafe for SelectionQualifier
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