pub struct ColumnRef {
pub name: &'static str,
pub table: &'static str,
pub schema: &'static str,
}Expand description
Reference to a table column.
Fields§
§name: &'static strColumn name.
table: &'static strTable name.
schema: &'static strSchema name (may be empty).
Implementations§
Trait Implementations§
Source§impl Expression for ColumnRef
impl Expression for ColumnRef
Source§fn write_query(
&self,
writer: &dyn SqlWriter,
context: &mut Context,
out: &mut String,
)
fn write_query( &self, writer: &dyn SqlWriter, context: &mut Context, out: &mut String, )
Serialize the expression into the output string using the sql writer.
Source§fn is_ordered(&self) -> bool
fn is_ordered(&self) -> bool
Whether this expression carries ordering information.
Source§impl OpPrecedence for ColumnRef
impl OpPrecedence for ColumnRef
Source§fn precedence(&self, _writer: &dyn SqlWriter) -> i32
fn precedence(&self, _writer: &dyn SqlWriter) -> i32
Lower numbers bind weaker, writers parenthesize when child precedence <= operator precedence.
impl Copy for ColumnRef
impl Eq for ColumnRef
impl StructuralPartialEq for ColumnRef
Auto Trait Implementations§
impl Freeze for ColumnRef
impl RefUnwindSafe for ColumnRef
impl Send for ColumnRef
impl Sync for ColumnRef
impl Unpin for ColumnRef
impl UnwindSafe for ColumnRef
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