pub enum CommentObject {
Column,
Table,
Extension,
Schema,
Database,
User,
Role,
}Expand description
Objects that can be targeted by a COMMENT statement.
Variants§
Column
A table column.
Table
A table.
Extension
An extension.
Schema
A schema.
Database
A database.
User
A user.
Role
A role.
Trait Implementations§
Source§impl Clone for CommentObject
impl Clone for CommentObject
Source§fn clone(&self) -> CommentObject
fn clone(&self) -> CommentObject
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 CommentObject
impl Debug for CommentObject
Source§impl Display for CommentObject
impl Display for CommentObject
Source§impl Hash for CommentObject
impl Hash for CommentObject
Source§impl Ord for CommentObject
impl Ord for CommentObject
Source§fn cmp(&self, other: &CommentObject) -> Ordering
fn cmp(&self, other: &CommentObject) -> 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 CommentObject
impl PartialEq for CommentObject
Source§impl PartialOrd for CommentObject
impl PartialOrd for CommentObject
Source§impl Visit for CommentObject
impl Visit for CommentObject
Source§impl VisitMut for CommentObject
impl VisitMut for CommentObject
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 Copy for CommentObject
impl Eq for CommentObject
impl StructuralPartialEq for CommentObject
Auto Trait Implementations§
impl Freeze for CommentObject
impl RefUnwindSafe for CommentObject
impl Send for CommentObject
impl Sync for CommentObject
impl Unpin for CommentObject
impl UnsafeUnpin for CommentObject
impl UnwindSafe for CommentObject
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