pub struct CommentOperatorArgs {
pub left: Option<DataType>,
pub right: Option<DataType>,
}Expand description
Operand types for COMMENT ON OPERATOR name (left, right).
Each side may be NONE for prefix or postfix unary operators, mirroring
the syntax allowed by DROP OPERATOR / ALTER OPERATOR. Both sides are
optional independently because PostgreSQL accepts unary operators in
either direction.
Fields§
§left: Option<DataType>Left-hand operand type, or None for NONE (prefix operator).
right: Option<DataType>Right-hand operand type, or None for NONE (postfix operator).
Trait Implementations§
Source§impl Clone for CommentOperatorArgs
impl Clone for CommentOperatorArgs
Source§fn clone(&self) -> CommentOperatorArgs
fn clone(&self) -> CommentOperatorArgs
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 CommentOperatorArgs
impl Debug for CommentOperatorArgs
Source§impl<'de> Deserialize<'de> for CommentOperatorArgs
impl<'de> Deserialize<'de> for CommentOperatorArgs
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CommentOperatorArgs
impl Display for CommentOperatorArgs
Source§impl Hash for CommentOperatorArgs
impl Hash for CommentOperatorArgs
Source§impl Ord for CommentOperatorArgs
impl Ord for CommentOperatorArgs
Source§fn cmp(&self, other: &CommentOperatorArgs) -> Ordering
fn cmp(&self, other: &CommentOperatorArgs) -> 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 CommentOperatorArgs
impl PartialEq for CommentOperatorArgs
Source§impl PartialOrd for CommentOperatorArgs
impl PartialOrd for CommentOperatorArgs
Source§impl Serialize for CommentOperatorArgs
impl Serialize for CommentOperatorArgs
Source§impl Visit for CommentOperatorArgs
impl Visit for CommentOperatorArgs
Source§impl VisitMut for CommentOperatorArgs
impl VisitMut for CommentOperatorArgs
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 CommentOperatorArgs
impl StructuralPartialEq for CommentOperatorArgs
Auto Trait Implementations§
impl Freeze for CommentOperatorArgs
impl RefUnwindSafe for CommentOperatorArgs
impl Send for CommentOperatorArgs
impl Sync for CommentOperatorArgs
impl Unpin for CommentOperatorArgs
impl UnsafeUnpin for CommentOperatorArgs
impl UnwindSafe for CommentOperatorArgs
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