[−][src]Struct postgres_parser::nodes::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
name: Option<String>
expr: Option<Box<Node>>
indexcolname: Option<String>
collation: Option<Vec<Node>>
opclass: Option<Vec<Node>>
ordering: SortByDir
nulls_ordering: SortByNulls
Trait Implementations
impl Debug for IndexElem
[src]
impl<'de> Deserialize<'de> for IndexElem
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for IndexElem
[src]
impl PartialEq<IndexElem> for IndexElem
[src]
impl Serialize for IndexElem
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
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>,