pub struct SqlClause { /* private fields */ }Expand description
A SQL clause label with optional raw text metadata.
Implementations§
Source§impl SqlClause
impl SqlClause
Sourcepub const fn new(kind: SqlClauseKind) -> Self
pub const fn new(kind: SqlClauseKind) -> Self
Creates a clause label.
Sourcepub const fn kind(&self) -> SqlClauseKind
pub const fn kind(&self) -> SqlClauseKind
Returns the clause kind.
Trait Implementations§
Source§impl Ord for SqlClause
impl Ord for SqlClause
1.21.0 (const: unstable) · 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 PartialOrd for SqlClause
impl PartialOrd for SqlClause
impl Eq for SqlClause
impl StructuralPartialEq for SqlClause
Auto Trait Implementations§
impl Freeze for SqlClause
impl RefUnwindSafe for SqlClause
impl Send for SqlClause
impl Sync for SqlClause
impl Unpin for SqlClause
impl UnsafeUnpin for SqlClause
impl UnwindSafe for SqlClause
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