pub struct ViewRewriteDefinitionRef<'a> {
pub query: &'a QueryPlan,
pub output_columns: Option<&'a [String]>,
pub options: &'a [(String, String)],
pub kind: StoredViewKind,
pub materialized_column_types: &'a [Option<ColumnType>],
pub materialized_column_collations: Option<&'a [u32]>,
}Fields§
§query: &'a QueryPlan§output_columns: Option<&'a [String]>§options: &'a [(String, String)]§kind: StoredViewKind§materialized_column_types: &'a [Option<ColumnType>]§materialized_column_collations: Option<&'a [u32]>Implementations§
Source§impl ViewRewriteDefinitionRef<'_>
impl ViewRewriteDefinitionRef<'_>
pub fn row_schema_with_control( self, routines: &dyn RoutineResolution, scope: ControlledBindingContext<'_>, control: &ProductionControl<'_>, ) -> Result<RowSchema, SQLError>
Trait Implementations§
Source§impl<'a> Clone for ViewRewriteDefinitionRef<'a>
impl<'a> Clone for ViewRewriteDefinitionRef<'a>
impl<'a> Copy for ViewRewriteDefinitionRef<'a>
Source§impl<'a> From<&'a ViewRewriteDefinition> for ViewRewriteDefinitionRef<'a>
impl<'a> From<&'a ViewRewriteDefinition> for ViewRewriteDefinitionRef<'a>
Source§fn from(definition: &'a ViewRewriteDefinition) -> Self
fn from(definition: &'a ViewRewriteDefinition) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ViewRewriteDefinitionRef<'a>
impl<'a> !UnwindSafe for ViewRewriteDefinitionRef<'a>
impl<'a> Freeze for ViewRewriteDefinitionRef<'a>
impl<'a> Send for ViewRewriteDefinitionRef<'a>
impl<'a> Sync for ViewRewriteDefinitionRef<'a>
impl<'a> Unpin for ViewRewriteDefinitionRef<'a>
impl<'a> UnsafeUnpin for ViewRewriteDefinitionRef<'a>
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