pub struct CreateViewStmt {
pub view_name: String,
pub columns: Option<Vec<String>>,
pub query: Box<SelectStmt>,
pub with_check_option: bool,
pub or_replace: bool,
pub if_not_exists: bool,
pub temporary: bool,
pub sql_definition: Option<String>,
}Expand description
CREATE VIEW statement
Fields§
§view_name: String§columns: Option<Vec<String>>§query: Box<SelectStmt>§with_check_option: bool§or_replace: bool§if_not_exists: boolWhether to skip creation if view already exists (CREATE VIEW IF NOT EXISTS)
temporary: boolWhether this is a temporary view (CREATE TEMP VIEW or CREATE TEMPORARY VIEW)
sql_definition: Option<String>Original SQL definition for sqlite_master compatibility This is populated during parsing to preserve the exact SQL text
Trait Implementations§
Source§impl Clone for CreateViewStmt
impl Clone for CreateViewStmt
Source§fn clone(&self) -> CreateViewStmt
fn clone(&self) -> CreateViewStmt
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 CreateViewStmt
impl Debug for CreateViewStmt
Source§impl PartialEq for CreateViewStmt
impl PartialEq for CreateViewStmt
impl StructuralPartialEq for CreateViewStmt
Auto Trait Implementations§
impl Freeze for CreateViewStmt
impl RefUnwindSafe for CreateViewStmt
impl Send for CreateViewStmt
impl Sync for CreateViewStmt
impl Unpin for CreateViewStmt
impl UnwindSafe for CreateViewStmt
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