pub struct CommentOn<'a> {
pub comment_on_span: Span,
pub object_type: CommentOnObjectType,
pub name: QualifiedName<'a>,
pub is_span: Span,
pub comment: Option<SString<'a>>,
}Expand description
PostgreSQL COMMENT ON object IS ‘text’ statement
Fields§
§comment_on_span: SpanSpan of “COMMENT ON”
object_type: CommentOnObjectTypeType of object being commented
name: QualifiedName<'a>Name of the object
is_span: SpanSpan of “IS”
comment: Option<SString<'a>>Comment text, or None if NULL (clears comment)
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for CommentOn<'a>
impl<'a> RefUnwindSafe for CommentOn<'a>
impl<'a> Send for CommentOn<'a>
impl<'a> Sync for CommentOn<'a>
impl<'a> Unpin for CommentOn<'a>
impl<'a> UnsafeUnpin for CommentOn<'a>
impl<'a> UnwindSafe for CommentOn<'a>
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