pub struct AlterView {
pub materialized: bool,
pub name: ObjectName,
pub if_exists: bool,
pub operation: AlterViewOperation,
}Expand description
ALTER [ MATERIALIZED ] VIEW statement.
See PostgreSQL
Fields§
§materialized: boolWhether MATERIALIZED was specified. A materialized view’s operation is never
AlterViewOperation::As or AlterViewOperation::AlterColumn.
name: ObjectNameView name being altered.
if_exists: boolWhether IF EXISTS was specified.
operation: AlterViewOperationThe operation to perform on the view.
Trait Implementations§
impl Eq for AlterView
Source§impl Ord for AlterView
impl Ord for AlterView
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for AlterView
impl PartialOrd for AlterView
impl StructuralPartialEq for AlterView
Auto Trait Implementations§
impl Freeze for AlterView
impl RefUnwindSafe for AlterView
impl Send for AlterView
impl Sync for AlterView
impl Unpin for AlterView
impl UnsafeUnpin for AlterView
impl UnwindSafe for AlterView
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