pub struct BindingSnapshot {
pub catalog: CatalogReadView,
pub resolution: RelationNameResolution,
pub ctes: BTreeMap<String, RowSchema>,
pub deferred_ctes: BTreeMap<String, CtePlan>,
pub non_returning_ctes: BTreeSet<String>,
pub scalar_subqueries: Vec<QueryPlan>,
}Fields§
§catalog: CatalogReadView§resolution: RelationNameResolution§ctes: BTreeMap<String, RowSchema>§deferred_ctes: BTreeMap<String, CtePlan>§non_returning_ctes: BTreeSet<String>§scalar_subqueries: Vec<QueryPlan>Implementations§
Source§impl BindingSnapshot
impl BindingSnapshot
pub fn context(&self) -> BindingContext<'_>
pub fn inherit_cte_bindings(&mut self, parent: &Self)
pub fn insert_deferred(&mut self, plan: CtePlan)
Trait Implementations§
Source§impl Clone for BindingSnapshot
impl Clone for BindingSnapshot
Source§fn clone(&self) -> BindingSnapshot
fn clone(&self) -> BindingSnapshot
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 From<BindingContext<'_>> for BindingSnapshot
impl From<BindingContext<'_>> for BindingSnapshot
Source§fn from(context: BindingContext<'_>) -> Self
fn from(context: BindingContext<'_>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for BindingSnapshot
impl !UnwindSafe for BindingSnapshot
impl Freeze for BindingSnapshot
impl Send for BindingSnapshot
impl Sync for BindingSnapshot
impl Unpin for BindingSnapshot
impl UnsafeUnpin for BindingSnapshot
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,
impl<T> ErasedDestructor for Twhere
T: 'static,
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