#[non_exhaustive]pub struct MaterializedViewEntity {
pub sql_code: String,
pub custom_features: Option<Struct>,
/* private fields */
}Expand description
MaterializedView’s parent is a schema.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.sql_code: StringThe SQL code which creates the view.
custom_features: Option<Struct>Custom engine specific features.
Implementations§
Source§impl MaterializedViewEntity
impl MaterializedViewEntity
pub fn new() -> Self
Sourcepub fn set_sql_code<T: Into<String>>(self, v: T) -> Self
pub fn set_sql_code<T: Into<String>>(self, v: T) -> Self
Sets the value of sql_code.
Sourcepub fn set_custom_features<T>(self, v: T) -> Self
pub fn set_custom_features<T>(self, v: T) -> Self
Sets the value of custom_features.
Sourcepub fn set_or_clear_custom_features<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_custom_features<T>(self, v: Option<T>) -> Self
Sets or clears the value of custom_features.
Trait Implementations§
Source§impl Clone for MaterializedViewEntity
impl Clone for MaterializedViewEntity
Source§fn clone(&self) -> MaterializedViewEntity
fn clone(&self) -> MaterializedViewEntity
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MaterializedViewEntity
impl Debug for MaterializedViewEntity
Source§impl Default for MaterializedViewEntity
impl Default for MaterializedViewEntity
Source§fn default() -> MaterializedViewEntity
fn default() -> MaterializedViewEntity
Returns the “default value” for a type. Read more
Source§impl Message for MaterializedViewEntity
impl Message for MaterializedViewEntity
Source§impl PartialEq for MaterializedViewEntity
impl PartialEq for MaterializedViewEntity
impl StructuralPartialEq for MaterializedViewEntity
Auto Trait Implementations§
impl Freeze for MaterializedViewEntity
impl RefUnwindSafe for MaterializedViewEntity
impl Send for MaterializedViewEntity
impl Sync for MaterializedViewEntity
impl Unpin for MaterializedViewEntity
impl UnwindSafe for MaterializedViewEntity
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