pub enum ParsedClause {
Field(Constraint),
RelatedTo {
class_name: String,
object_id: String,
key: String,
},
Or(Vec<ParsedWhere>),
And(Vec<ParsedWhere>),
Nor(Vec<ParsedWhere>),
}Expand description
One element of a parsed where.
Variants§
Field(Constraint)
RelatedTo
{"$relatedTo": {"object": <pointer>, "key": <field>}}. Resolved against the join table
of the owning class, and only after the caller has been authorized to read the owning
object.
Or(Vec<ParsedWhere>)
And(Vec<ParsedWhere>)
Nor(Vec<ParsedWhere>)
Trait Implementations§
Source§impl Clone for ParsedClause
impl Clone for ParsedClause
Source§fn clone(&self) -> ParsedClause
fn clone(&self) -> ParsedClause
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ParsedClause
impl RefUnwindSafe for ParsedClause
impl Send for ParsedClause
impl Sync for ParsedClause
impl Unpin for ParsedClause
impl UnsafeUnpin for ParsedClause
impl UnwindSafe for ParsedClause
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