pub struct IndexColumn {
pub value: Cow<'static, str>,
pub is_expression: bool,
}Expand description
Runtime index column entity for serde serialization
Fields§
§value: Cow<'static, str>Column name or expression
is_expression: boolWhether this is an expression (vs column name)
Implementations§
Source§impl IndexColumn
impl IndexColumn
Trait Implementations§
Source§impl Clone for IndexColumn
impl Clone for IndexColumn
Source§fn clone(&self) -> IndexColumn
fn clone(&self) -> IndexColumn
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IndexColumn
impl Debug for IndexColumn
Source§impl From<IndexColumnDef> for IndexColumn
impl From<IndexColumnDef> for IndexColumn
Source§fn from(def: IndexColumnDef) -> Self
fn from(def: IndexColumnDef) -> Self
Converts to this type from the input type.
Source§impl PartialEq for IndexColumn
impl PartialEq for IndexColumn
impl Eq for IndexColumn
impl StructuralPartialEq for IndexColumn
Auto Trait Implementations§
impl Freeze for IndexColumn
impl RefUnwindSafe for IndexColumn
impl Send for IndexColumn
impl Sync for IndexColumn
impl Unpin for IndexColumn
impl UnwindSafe for IndexColumn
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