[−][src]Struct postgres_parser::sys::IndexElem
IndexElem index parameters (used in CREATE INDEX, and in ON CONFLICT)
For a plain index attribute, 'name' is the name of the table column to index, and 'expr' is NULL. For an index expression, 'name' is NULL and 'expr' is the expression tree.
Fields
type_: NodeTag
name: *mut c_char
expr: *mut Node
name of attribute to index, or NULL
indexcolname: *mut c_char
expression to index, or NULL
collation: *mut List
name for index column; NULL = default
opclass: *mut List
name of collation; NIL = default
ordering: SortByDir
name of desired opclass; NIL = default
nulls_ordering: SortByNulls
ASC/DESC/default
Trait Implementations
impl Debug for IndexElem
[src]
impl Default for IndexElem
[src]
impl Eq for IndexElem
[src]
impl Hash for IndexElem
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<IndexElem> for IndexElem
[src]
impl StructuralEq for IndexElem
[src]
impl StructuralPartialEq for IndexElem
[src]
Auto Trait Implementations
impl RefUnwindSafe for IndexElem
impl !Send for IndexElem
impl !Sync for IndexElem
impl Unpin for IndexElem
impl UnwindSafe for IndexElem
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,