pub struct Var {
pub relation: usize,
pub attnum: i16,
pub levels_up: usize,
}Expand description
A column of a relation of FROM.
Fields§
§relation: usizeThe index of the relation in crate::Query::relations.
attnum: i16The attribute number: from 1 for a column of the relation, or a negative number for a system column.
levels_up: usizevarlevelsup: 0 for a relation of the query that has the expression, 1 for a relation of the query outside it, and so on.
Trait Implementations§
impl Copy for Var
impl Eq for Var
impl StructuralPartialEq for Var
Auto Trait Implementations§
impl Freeze for Var
impl RefUnwindSafe for Var
impl Send for Var
impl Sync for Var
impl Unpin for Var
impl UnsafeUnpin for Var
impl UnwindSafe for Var
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