pub struct AlterView {
pub name: TableRef,
pub actions: Vec<AlterViewAction>,
pub algorithm: Option<String>,
pub definer: Option<String>,
pub sql_security: Option<String>,
pub with_option: Option<String>,
pub columns: Vec<ViewColumn>,
}Expand description
ALTER VIEW statement
Fields§
§name: TableRef§actions: Vec<AlterViewAction>§algorithm: Option<String>MySQL: ALGORITHM = MERGE|TEMPTABLE|UNDEFINED
definer: Option<String>MySQL: DEFINER = ‘user’@‘host’
sql_security: Option<String>MySQL: SQL SECURITY = DEFINER|INVOKER
with_option: Option<String>TSQL: WITH option (SCHEMABINDING, ENCRYPTION, VIEW_METADATA)
columns: Vec<ViewColumn>Hive: Column aliases with optional comments: (c1 COMMENT ‘text’, c2)
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AlterView
impl<'de> Deserialize<'de> for AlterView
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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 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