CommentDef in sqlparser::ast - Rust

pub enum CommentDef {
    WithEq(String),
    WithoutEq(String),
}
Expand description

Helper to indicate if a comment includes the = in the display form

§

Includes = when printing the comment, as COMMENT = 'comment' Does not include = when printing the comment, as COMMENT 'comment'

§

Comment variant that omits the = when displayed.

Source§

Tests for self and other values to be equal, and is used by ==.

1.0.0 · Source§

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Source§

This method returns an ordering between self and other values if one exists. Read more

1.0.0 · Source§

Tests less than (for self and other) and is used by the < operator. Read more

1.0.0 · Source§

Tests less than or equal to (for self and other) and is used by the <= operator. Read more

1.0.0 · Source§

Tests greater than (for self and other) and is used by the > operator. Read more

1.0.0 · Source§

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more