pub struct StoredView {
pub security: BoundTableSecurity,
pub definition: StoredViewDefinition,
}Expand description
One bound view query together with the fixed public column names captured when the view was created. None exists only while the catalog-opening migration reads formats written before column metadata was persisted.
Fields§
§security: BoundTableSecuritySecurity is loaded independently from the durable catalog row.
definition: StoredViewDefinitionImplementations§
Source§impl StoredView
impl StoredView
pub fn security(&self) -> BoundTableSecurity
pub fn set_security(&mut self, security: BoundTableSecurity)
pub fn security_invoker(&self) -> bool
Source§impl StoredView
impl StoredView
pub fn rewrite_definition(&self) -> ViewRewriteDefinition
pub fn row_schema( &self, routines: &dyn RoutineResolution, catalog: CatalogReadView, resolution: RelationNameResolution, ) -> Result<RowSchema, SQLError>
Trait Implementations§
Source§impl Clone for StoredView
impl Clone for StoredView
Source§impl Debug for StoredView
impl Debug for StoredView
Source§impl Deref for StoredView
impl Deref for StoredView
Source§impl DerefMut for StoredView
impl DerefMut for StoredView
Auto Trait Implementations§
impl Freeze for StoredView
impl RefUnwindSafe for StoredView
impl Send for StoredView
impl Sync for StoredView
impl Unpin for StoredView
impl UnsafeUnpin for StoredView
impl UnwindSafe for StoredView
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