pub struct Undrop {
pub kind: String,
pub name: TableRef,
pub if_exists: bool,
pub rename_to: Option<TableRef>,
}Expand description
UNDROP object statement (Snowflake, ClickHouse)
Fields§
§kind: StringThe object kind, e.g. “TABLE”, “SCHEMA”, “DATABASE”, “DYNAMIC TABLE”
name: TableRefThe object name
if_exists: boolIF EXISTS clause
rename_to: Option<TableRef>Snowflake: optional RENAME TO target
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Undrop
impl<'de> Deserialize<'de> for Undrop
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 Undrop
Auto Trait Implementations§
impl Freeze for Undrop
impl RefUnwindSafe for Undrop
impl Send for Undrop
impl Sync for Undrop
impl Unpin for Undrop
impl UnsafeUnpin for Undrop
impl UnwindSafe for Undrop
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