pub enum AlterIndexOperation {
RenameIndex {
index_name: ObjectName,
},
}Expand description
Alterations that can be applied to an index.
Variants§
RenameIndex
Rename the index to index_name.
Fields
§
index_name: ObjectNameThe new name for the index.
Trait Implementations§
Source§impl Clone for AlterIndexOperation
impl Clone for AlterIndexOperation
Source§fn clone(&self) -> AlterIndexOperation
fn clone(&self) -> AlterIndexOperation
Returns a duplicate of the value. Read more
1.0.0 · 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 AlterIndexOperation
impl Debug for AlterIndexOperation
Source§impl Display for AlterIndexOperation
impl Display for AlterIndexOperation
Source§impl Hash for AlterIndexOperation
impl Hash for AlterIndexOperation
Source§impl Ord for AlterIndexOperation
impl Ord for AlterIndexOperation
Source§fn cmp(&self, other: &AlterIndexOperation) -> Ordering
fn cmp(&self, other: &AlterIndexOperation) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AlterIndexOperation
impl PartialEq for AlterIndexOperation
Source§impl PartialOrd for AlterIndexOperation
impl PartialOrd for AlterIndexOperation
Source§impl Spanned for AlterIndexOperation
impl Spanned for AlterIndexOperation
Source§impl Visit for AlterIndexOperation
impl Visit for AlterIndexOperation
Source§impl VisitMut for AlterIndexOperation
impl VisitMut for AlterIndexOperation
Source§fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
Mutably visit this node with the provided
VisitorMut. Read moreimpl Eq for AlterIndexOperation
impl StructuralPartialEq for AlterIndexOperation
Auto Trait Implementations§
impl Freeze for AlterIndexOperation
impl RefUnwindSafe for AlterIndexOperation
impl Send for AlterIndexOperation
impl Sync for AlterIndexOperation
impl Unpin for AlterIndexOperation
impl UnsafeUnpin for AlterIndexOperation
impl UnwindSafe for AlterIndexOperation
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