pub struct RenameStmt {
pub renameType: ObjectType,
pub relationType: ObjectType,
pub relation: Option<Box<RangeVar>>,
pub object: Option<Node>,
pub subname: Option<Str>,
pub newname: Option<Str>,
pub behavior: DropBehavior,
pub missing_ok: bool,
}Expand description
The node RenameStmt.
Fields§
§renameType: ObjectType§relationType: ObjectType§relation: Option<Box<RangeVar>>§object: Option<Node>§subname: Option<Str>§newname: Option<Str>§behavior: DropBehavior§missing_ok: boolTrait Implementations§
Source§impl Clone for RenameStmt
impl Clone for RenameStmt
Source§impl Debug for RenameStmt
impl Debug for RenameStmt
Source§impl Default for RenameStmt
impl Default for RenameStmt
Source§impl Equal for RenameStmt
impl Equal for RenameStmt
Source§impl From<RenameStmt> for Node
impl From<RenameStmt> for Node
Source§fn from(node: RenameStmt) -> Node
fn from(node: RenameStmt) -> Node
Converts to this type from the input type.
Source§impl NodeType for RenameStmt
impl NodeType for RenameStmt
Source§impl Out for RenameStmt
impl Out for RenameStmt
Source§impl PartialEq for RenameStmt
impl PartialEq for RenameStmt
impl StructuralPartialEq for RenameStmt
Auto Trait Implementations§
impl Freeze for RenameStmt
impl RefUnwindSafe for RenameStmt
impl Send for RenameStmt
impl Sync for RenameStmt
impl Unpin for RenameStmt
impl UnsafeUnpin for RenameStmt
impl UnwindSafe for RenameStmt
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