pub struct Condition {
pub expression: String,
pub bindings: Vec<Value>,
}Expand description
A SQL fragment with its bindings.
PHP: Utopia\Query\Builder\Condition.
Fields§
§expression: StringThe SQL, with ? placeholders.
bindings: Vec<Value>The values of the placeholders.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Condition
Auto Trait Implementations§
impl Forget for Condition
impl Freeze for Condition
impl Move for Condition
impl RefUnwindSafe for Conditionwhere
Atomic<*mut ()>: RefUnwindSafe,
Atomic<usize>: RefUnwindSafe,
OnceLock<Index>: RefUnwindSafe,
Atomic<u8>: RefUnwindSafe,
impl Send for Condition
impl Sync for Condition
impl Unpin for Condition
impl UnsafeUnpin for Conditionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value<Object>>: UnsafeUnpin,
impl UnwindSafe for Conditionwhere
RawVecInner: UnwindSafe,
&'static [u8]: UnwindSafe,
*const u8: UnwindSafe,
Align8<*mut ()>: UnwindSafe,
&'static Vtable: UnwindSafe,
Arc<Repr<Object>>: UnwindSafe,
BoxRaw<Query>: UnwindSafe,
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