pub struct TypeChange {
pub name: Option<QualifiedName>,
pub ty: Option<LogicalType>,
pub uses: Vec<QualifiedName>,
pub if_not_exists: bool,
pub or_replace: bool,
pub cascade: bool,
}Expand description
A bound CREATE TYPE or DROP TYPE.
Fields§
§name: Option<QualifiedName>The full name. None for a DROP TYPE IF EXISTS of one that is not there.
ty: Option<LogicalType>What a create makes the name stand for, and None on a drop.
uses: Vec<QualifiedName>The made types a create read its type through, which it will depend on.
if_not_exists: boolWhether a create over a type that is there does nothing.
or_replace: boolWhether a create replaces a type that is there.
cascade: boolWhether a drop takes the types made from this one with it.
Trait Implementations§
Source§impl Clone for TypeChange
impl Clone for TypeChange
Source§impl Debug for TypeChange
impl Debug for TypeChange
impl Eq for TypeChange
Source§impl PartialEq for TypeChange
impl PartialEq for TypeChange
impl StructuralPartialEq for TypeChange
Auto Trait Implementations§
impl Freeze for TypeChange
impl RefUnwindSafe for TypeChange
impl Send for TypeChange
impl Sync for TypeChange
impl Unpin for TypeChange
impl UnsafeUnpin for TypeChange
impl UnwindSafe for TypeChange
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