pub struct SequenceChange {
pub name: Option<QualifiedName>,
pub drop: bool,
pub if_not_exists: bool,
pub or_replace: bool,
pub cascade: bool,
pub options: Options,
pub owner: Option<QualifiedName>,
}Expand description
A bound CREATE SEQUENCE or DROP SEQUENCE.
Fields§
§name: Option<QualifiedName>The full name. None for a DROP SEQUENCE IF EXISTS of one that is not there.
drop: boolWhether this is a DROP rather than a CREATE.
if_not_exists: boolWhether a create over a sequence that is there does nothing.
or_replace: boolWhether a create replaces a sequence that is there.
cascade: boolWhether a drop takes the tables whose defaults use the sequence with it.
options: OptionsWhat a create settled.
owner: Option<QualifiedName>The table or view an ALTER SEQUENCE ... OWNED BY gives the sequence to, which makes this
an alter rather than a create.
Trait Implementations§
Source§impl Clone for SequenceChange
impl Clone for SequenceChange
Source§impl Debug for SequenceChange
impl Debug for SequenceChange
impl Eq for SequenceChange
Source§impl PartialEq for SequenceChange
impl PartialEq for SequenceChange
impl StructuralPartialEq for SequenceChange
Auto Trait Implementations§
impl Freeze for SequenceChange
impl RefUnwindSafe for SequenceChange
impl Send for SequenceChange
impl Sync for SequenceChange
impl Unpin for SequenceChange
impl UnsafeUnpin for SequenceChange
impl UnwindSafe for SequenceChange
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