pub struct RenameStmt {
pub newname: String,
pub behavior: DropBehavior,
pub relation: Option<RelationKind>,
pub relation_type: ObjectType,
pub rename_type: ObjectType,
pub subname: Option<String>,
}
Fields§
§newname: String
§behavior: DropBehavior
§relation: Option<RelationKind>
§relation_type: ObjectType
§rename_type: ObjectType
§subname: Option<String>
name of contained object (column, rule, trigger, etc)
Trait Implementations§
Source§impl Debug for RenameStmt
impl Debug for RenameStmt
Source§impl<'de> Deserialize<'de> for RenameStmt
impl<'de> Deserialize<'de> for RenameStmt
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
Auto Trait Implementations§
impl Freeze for RenameStmt
impl RefUnwindSafe for RenameStmt
impl Send for RenameStmt
impl Sync for RenameStmt
impl Unpin 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