pub struct RuleContext<'a, S: Clone + 'static> {
pub memory: &'a dyn QueryMemorySettings,
pub cancellation: &'a CancellationToken,
pub analysis: RuleAnalysisContext<'a>,
pub binding: CatalogRoutineAnalysisContext<'a>,
pub security: &'a dyn RuleSecurity,
pub statements: &'a dyn RuleStatements<S>,
pub returning: ReturningAnalysisContext<'a>,
pub assignment: &'a dyn AssignmentContext,
pub projection: Option<&'a dyn RuleReturningProjection>,
pub volatility: &'a dyn VolatilityCatalog,
}Fields§
§memory: &'a dyn QueryMemorySettings§cancellation: &'a CancellationToken§analysis: RuleAnalysisContext<'a>§binding: CatalogRoutineAnalysisContext<'a>§security: &'a dyn RuleSecurity§statements: &'a dyn RuleStatements<S>§returning: ReturningAnalysisContext<'a>§assignment: &'a dyn AssignmentContext§projection: Option<&'a dyn RuleReturningProjection>§volatility: &'a dyn VolatilityCatalogImplementations§
Source§impl<'a, S: Clone + 'static> RuleContext<'a, S>
impl<'a, S: Clone + 'static> RuleContext<'a, S>
pub fn with_projection<'b>(
self,
projection: &'b dyn RuleReturningProjection,
) -> RuleContext<'b, S>where
'a: 'b,
Trait Implementations§
impl<S: Clone + 'static> Copy for RuleContext<'_, S>
Auto Trait Implementations§
impl<'a, S> !RefUnwindSafe for RuleContext<'a, S>
impl<'a, S> !Send for RuleContext<'a, S>
impl<'a, S> !Sync for RuleContext<'a, S>
impl<'a, S> !UnwindSafe for RuleContext<'a, S>
impl<'a, S> Freeze for RuleContext<'a, S>where
&'a dyn RuleStatements<S>: Freeze,
impl<'a, S> Unpin for RuleContext<'a, S>where
&'a dyn RuleStatements<S>: Unpin,
impl<'a, S> UnsafeUnpin for RuleContext<'a, S>where
&'a dyn RuleStatements<S>: UnsafeUnpin,
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