pub struct SqlBoundFact {
pub kind: SqlBoundKind,
pub body: Option<String>,
pub line: usize,
pub column: usize,
pub statement_start: Option<(usize, usize)>,
pub query: SqlBoundQuery,
pub scalar_reads: Option<SqlScalarReads>,
pub lateral_qualified_reads: Vec<SqlQualifiedRead>,
pub target: Option<usize>,
}Expand description
One executed SELECT, UPDATE or DELETE, reduced to its row-count facts. Key uniqueness is determined later against the schema catalog.
Fields§
§kind: SqlBoundKindOwning executed statement, including for independently judged query bodies.
body: Option<String>Independent body obligation, present only when explicitly requested.
line: usize§column: usize§statement_start: Option<(usize, usize)>Original outer SQL statement position, including WITH or an executing wrapper.
query: SqlBoundQuery§scalar_reads: Option<SqlScalarReads>§lateral_qualified_reads: Vec<SqlQualifiedRead>Qualified enclosing rows fixed for one explicitly LATERAL body invocation.
target: Option<usize>For UPDATE and DELETE: the index in query.items of the relation being changed.
Implementations§
Trait Implementations§
Source§impl Clone for SqlBoundFact
impl Clone for SqlBoundFact
Source§fn clone(&self) -> SqlBoundFact
fn clone(&self) -> SqlBoundFact
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 moreSource§impl Debug for SqlBoundFact
impl Debug for SqlBoundFact
impl Eq for SqlBoundFact
Source§impl PartialEq for SqlBoundFact
impl PartialEq for SqlBoundFact
impl StructuralPartialEq for SqlBoundFact
Auto Trait Implementations§
impl Forget for SqlBoundFact
impl Freeze for SqlBoundFactwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<SqlBoundItem>: Freeze,
PhantomData<SqlBoundOutput>: Freeze,
PhantomData<SqlGroupKey>: Freeze,
PhantomData<SqlBareRead>: Freeze,
PhantomData<(String, Vec<String>)>: Freeze,
PhantomData<String>: Freeze,
PhantomData<SqlQualifiedRead>: Freeze,
impl Move for SqlBoundFact
impl RefUnwindSafe for SqlBoundFact
impl Send for SqlBoundFact
impl Sync for SqlBoundFact
impl Unpin for SqlBoundFact
impl UnsafeUnpin for SqlBoundFactwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<SqlBoundItem>: UnsafeUnpin,
PhantomData<SqlBoundOutput>: UnsafeUnpin,
PhantomData<SqlGroupKey>: UnsafeUnpin,
PhantomData<SqlBareRead>: UnsafeUnpin,
PhantomData<(String, Vec<String>)>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<SqlQualifiedRead>: UnsafeUnpin,
impl UnwindSafe for SqlBoundFactwhere
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> ⓘ
Converts
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> ⓘ
Converts
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