pub struct Filter {
pub column: String,
pub value: Value,
}Expand description
One equality condition on a declared column.
Equality, and nothing else. #153’s own rule bounds the declaration
surface — anything referencing another row or another request is a
function, not a field — and the same instinct bounds what a caller
may ask of one: ranges, prefixes and LIKE are queries a module
writes, not vocabulary a manifest grows into.
Fields§
§column: StringThe declared column.
value: ValueWhat it must equal, as JSON.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Filter
impl RefUnwindSafe for Filter
impl Send for Filter
impl Sync for Filter
impl Unpin for Filter
impl UnsafeUnpin for Filter
impl UnwindSafe for Filter
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