pub struct NewIndexColumn {
pub name: String,
pub key: i16,
pub ty: u32,
pub typmod: i32,
pub collation: u32,
pub class: u32,
pub option: i16,
}Expand description
A column of a new index.
Fields§
§name: StringThe name that the statement gives the index column, else the name of the table column, else expr.
key: i16The number of the table column, or 0 for an expression.
ty: u32The type of the index column.
typmod: i32The type modifier of the index column.
collation: u32The collation, or 0.
class: u32The operator class, or 0 for an INCLUDE column.
option: i16The indoption bits.
Trait Implementations§
Source§impl Clone for NewIndexColumn
impl Clone for NewIndexColumn
Source§impl Debug for NewIndexColumn
impl Debug for NewIndexColumn
impl Eq for NewIndexColumn
Source§impl PartialEq for NewIndexColumn
impl PartialEq for NewIndexColumn
impl StructuralPartialEq for NewIndexColumn
Auto Trait Implementations§
impl Freeze for NewIndexColumn
impl RefUnwindSafe for NewIndexColumn
impl Send for NewIndexColumn
impl Sync for NewIndexColumn
impl Unpin for NewIndexColumn
impl UnsafeUnpin for NewIndexColumn
impl UnwindSafe for NewIndexColumn
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