pub struct ExistsOpts {
pub scalar: bool,
}Expand description
Options for a where_exists / where_not_exists correlated subquery — an
extensible struct so the common case stays where_exists(f) and opt-in behaviors
ride a ..Default::default() struct via the _with variants.
Fields§
§scalar: boolFold this EXISTS as a build-time scalar subquery
(SCALAR-SUBQUERY-DESIGN.md): when the child binds a statically-unique key, the
resolver reads it once, inlines the correlation value as a literal, and deletes
the join. Snapshot semantics — the inlined value does not react to later
child changes (design §3). Default false (a live EXISTS join).
Trait Implementations§
Source§impl Clone for ExistsOpts
impl Clone for ExistsOpts
Source§fn clone(&self) -> ExistsOpts
fn clone(&self) -> ExistsOpts
Returns a duplicate 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 ExistsOpts
impl Debug for ExistsOpts
Source§impl Default for ExistsOpts
impl Default for ExistsOpts
Source§fn default() -> ExistsOpts
fn default() -> ExistsOpts
Returns the “default value” for a type. Read more
Source§impl PartialEq for ExistsOpts
impl PartialEq for ExistsOpts
impl Copy for ExistsOpts
impl Eq for ExistsOpts
impl StructuralPartialEq for ExistsOpts
Auto Trait Implementations§
impl Freeze for ExistsOpts
impl RefUnwindSafe for ExistsOpts
impl Send for ExistsOpts
impl Sync for ExistsOpts
impl Unpin for ExistsOpts
impl UnsafeUnpin for ExistsOpts
impl UnwindSafe for ExistsOpts
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