pub struct SqlBoundPin {
pub alternative: Option<usize>,
pub column: String,
pub unqualified_candidate: bool,
pub expression: Option<Expr>,
pub source: SqlPinSource,
pub null_safe: bool,
pub reads: Vec<SqlBareRead>,
pub qualified_reads: Vec<SqlQualifiedRead>,
pub peer_column: Option<String>,
pub single_value: bool,
}Expand description
A conjunct that equates one column or index expression of an item with a value.
Fields§
§alternative: Option<usize>Disjunctive alternative owning this pin; None means an unconditional conjunct.
column: String§unqualified_candidate: boolBare column with multiple possible FROM owners; only catalog projection may credit it.
expression: Option<Expr>The canonical table-local expression fixed by this equality, when it is not a column.
source: SqlPinSource§null_safe: boolIS NOT DISTINCT FROM also matches NULL; a nullable key needs NULLS NOT DISTINCT.
reads: Vec<SqlBareRead>Bare columns that subqueries in the value read: when one resolves to the enclosing query the value depends on the row checked, and the pin fixes nothing.
qualified_reads: Vec<SqlQualifiedRead>Schema-qualified reads retained for catalog identity resolution.
peer_column: Option<String>When source is one other item, the column of that item this equality names.
single_value: boolUnconditional = to one caller value. Lists, arrays, and null-safe matches are not one value.
Trait Implementations§
Source§impl Clone for SqlBoundPin
impl Clone for SqlBoundPin
Source§impl Debug for SqlBoundPin
impl Debug for SqlBoundPin
impl Eq for SqlBoundPin
Source§impl PartialEq for SqlBoundPin
impl PartialEq for SqlBoundPin
impl StructuralPartialEq for SqlBoundPin
Auto Trait Implementations§
impl Forget for SqlBoundPin
impl Freeze for SqlBoundPinwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Ident>: Freeze,
*const Expr is !null: Freeze,
PhantomData<Expr>: Freeze,
PhantomData<AccessExpr>: Freeze,
PhantomData<JsonPathElem>: Freeze,
*const Query is !null: Freeze,
PhantomData<Query>: Freeze,
PhantomData<ObjectNamePart>: Freeze,
PhantomData<FunctionArg>: Freeze,
PhantomData<String>: Freeze,
PhantomData<ColumnDef>: Freeze,
*const DataType is !null: Freeze,
PhantomData<DataType>: Freeze,
PhantomData<TypeModifier>: Freeze,
PhantomData<StructField>: Freeze,
PhantomData<EnumMember>: Freeze,
PhantomData<UnionField>: Freeze,
PhantomData<FunctionArgumentClause>: Freeze,
PhantomData<OrderByExpr>: Freeze,
PhantomData<CaseWhen>: Freeze,
PhantomData<Vec<Expr>>: Freeze,
PhantomData<DictionaryField>: Freeze,
PhantomData<MapEntry>: Freeze,
PhantomData<ObjectName>: Freeze,
PhantomData<LambdaFunctionParameter>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<(usize, String)>: Freeze,
PhantomData<SqlBoundItem>: Freeze,
PhantomData<SqlBoundOutput>: Freeze,
PhantomData<SqlGroupKey>: Freeze,
PhantomData<SqlBareRead>: Freeze,
PhantomData<SqlQualifiedRead>: Freeze,
impl Move for SqlBoundPin
impl RefUnwindSafe for SqlBoundPin
impl Send for SqlBoundPin
impl Sync for SqlBoundPin
impl Unpin for SqlBoundPin
impl UnsafeUnpin for SqlBoundPinwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Ident>: UnsafeUnpin,
*const Expr is !null: UnsafeUnpin,
PhantomData<Expr>: UnsafeUnpin,
PhantomData<AccessExpr>: UnsafeUnpin,
PhantomData<JsonPathElem>: UnsafeUnpin,
*const Query is !null: UnsafeUnpin,
PhantomData<Query>: UnsafeUnpin,
PhantomData<ObjectNamePart>: UnsafeUnpin,
PhantomData<FunctionArg>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<ColumnDef>: UnsafeUnpin,
*const DataType is !null: UnsafeUnpin,
PhantomData<DataType>: UnsafeUnpin,
PhantomData<TypeModifier>: UnsafeUnpin,
PhantomData<StructField>: UnsafeUnpin,
PhantomData<EnumMember>: UnsafeUnpin,
PhantomData<UnionField>: UnsafeUnpin,
PhantomData<FunctionArgumentClause>: UnsafeUnpin,
PhantomData<OrderByExpr>: UnsafeUnpin,
PhantomData<CaseWhen>: UnsafeUnpin,
PhantomData<Vec<Expr>>: UnsafeUnpin,
PhantomData<DictionaryField>: UnsafeUnpin,
PhantomData<MapEntry>: UnsafeUnpin,
PhantomData<ObjectName>: UnsafeUnpin,
PhantomData<LambdaFunctionParameter>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<(usize, String)>: UnsafeUnpin,
PhantomData<SqlBoundItem>: UnsafeUnpin,
PhantomData<SqlBoundOutput>: UnsafeUnpin,
PhantomData<SqlGroupKey>: UnsafeUnpin,
PhantomData<SqlBareRead>: UnsafeUnpin,
PhantomData<SqlQualifiedRead>: UnsafeUnpin,
impl UnwindSafe for SqlBoundPinwhere
RawVecInner: UnwindSafe,
BoxRaw<Expr>: UnwindSafe,
BoxRaw<Query>: UnwindSafe,
BoxRaw<ReplaceSelectElement>: UnwindSafe,
BoxRaw<DataType>: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more