pub enum AlterDatabaseAction {
DatabaseOptionList(DatabaseOptionList),
DatabaseRenameTo(DatabaseRenameTo),
OwnerTo(OwnerTo),
RefreshCollationVersion(RefreshCollationVersion),
ResetConfigParam(ResetConfigParam),
SetConfigParam(SetConfigParam),
SetTablespace(SetTablespace),
}Variants§
DatabaseOptionList(DatabaseOptionList)
DatabaseRenameTo(DatabaseRenameTo)
OwnerTo(OwnerTo)
RefreshCollationVersion(RefreshCollationVersion)
ResetConfigParam(ResetConfigParam)
SetConfigParam(SetConfigParam)
SetTablespace(SetTablespace)
Trait Implementations§
Source§impl AstNode for AlterDatabaseAction
impl AstNode for AlterDatabaseAction
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
Source§impl Clone for AlterDatabaseAction
impl Clone for AlterDatabaseAction
Source§fn clone(&self) -> AlterDatabaseAction
fn clone(&self) -> AlterDatabaseAction
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 AlterDatabaseAction
impl Debug for AlterDatabaseAction
impl Eq for AlterDatabaseAction
Source§impl From<DatabaseOptionList> for AlterDatabaseAction
impl From<DatabaseOptionList> for AlterDatabaseAction
Source§fn from(node: DatabaseOptionList) -> AlterDatabaseAction
fn from(node: DatabaseOptionList) -> AlterDatabaseAction
Converts to this type from the input type.
Source§impl From<DatabaseRenameTo> for AlterDatabaseAction
impl From<DatabaseRenameTo> for AlterDatabaseAction
Source§fn from(node: DatabaseRenameTo) -> AlterDatabaseAction
fn from(node: DatabaseRenameTo) -> AlterDatabaseAction
Converts to this type from the input type.
Source§impl From<OwnerTo> for AlterDatabaseAction
impl From<OwnerTo> for AlterDatabaseAction
Source§fn from(node: OwnerTo) -> AlterDatabaseAction
fn from(node: OwnerTo) -> AlterDatabaseAction
Converts to this type from the input type.
Source§impl From<RefreshCollationVersion> for AlterDatabaseAction
impl From<RefreshCollationVersion> for AlterDatabaseAction
Source§fn from(node: RefreshCollationVersion) -> AlterDatabaseAction
fn from(node: RefreshCollationVersion) -> AlterDatabaseAction
Converts to this type from the input type.
Source§impl From<ResetConfigParam> for AlterDatabaseAction
impl From<ResetConfigParam> for AlterDatabaseAction
Source§fn from(node: ResetConfigParam) -> AlterDatabaseAction
fn from(node: ResetConfigParam) -> AlterDatabaseAction
Converts to this type from the input type.
Source§impl From<SetConfigParam> for AlterDatabaseAction
impl From<SetConfigParam> for AlterDatabaseAction
Source§fn from(node: SetConfigParam) -> AlterDatabaseAction
fn from(node: SetConfigParam) -> AlterDatabaseAction
Converts to this type from the input type.
Source§impl From<SetTablespace> for AlterDatabaseAction
impl From<SetTablespace> for AlterDatabaseAction
Source§fn from(node: SetTablespace) -> AlterDatabaseAction
fn from(node: SetTablespace) -> AlterDatabaseAction
Converts to this type from the input type.
Source§impl Hash for AlterDatabaseAction
impl Hash for AlterDatabaseAction
Source§impl PartialEq for AlterDatabaseAction
impl PartialEq for AlterDatabaseAction
impl StructuralPartialEq for AlterDatabaseAction
Auto Trait Implementations§
impl !RefUnwindSafe for AlterDatabaseAction
impl !Send for AlterDatabaseAction
impl !Sync for AlterDatabaseAction
impl !UnwindSafe for AlterDatabaseAction
impl Freeze for AlterDatabaseAction
impl Unpin for AlterDatabaseAction
impl UnsafeUnpin for AlterDatabaseAction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more