pub struct RenameType {
pub type_name: String,
pub new_name: String,
}Expand description
An ALTER TYPE ... RENAME TO ... statement.
Fields§
§type_name: StringThe current type name.
new_name: StringThe new type name.
Trait Implementations§
Source§impl Clone for RenameType
impl Clone for RenameType
Source§fn clone(&self) -> RenameType
fn clone(&self) -> RenameType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RenameType
impl Debug for RenameType
Source§impl From<RenameType> for Statement
impl From<RenameType> for Statement
Source§fn from(value: RenameType) -> Self
fn from(value: RenameType) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RenameType
impl RefUnwindSafe for RenameType
impl Send for RenameType
impl Sync for RenameType
impl Unpin for RenameType
impl UnsafeUnpin for RenameType
impl UnwindSafe for RenameType
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