pub struct IndexKeyPart {
pub expression: Box<Expression>,
pub prefix_length: Option<String>,
pub desc: bool,
pub asc: bool,
pub nulls_first: Option<bool>,
pub opclass: Option<String>,
}Expand description
An expression-capable index key part.
Fields§
§expression: Box<Expression>§prefix_length: Option<String>MySQL column prefix length, for example the 16 in name(16).
desc: bool§asc: boolExplicit ASC keyword was present.
nulls_first: Option<bool>§opclass: Option<String>PostgreSQL operator class (e.g., varchar_pattern_ops, public.gin_trgm_ops).
Trait Implementations§
Source§impl Clone for IndexKeyPart
impl Clone for IndexKeyPart
Source§fn clone(&self) -> IndexKeyPart
fn clone(&self) -> IndexKeyPart
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IndexKeyPart
impl Debug for IndexKeyPart
Source§impl<'de> Deserialize<'de> for IndexKeyPart
impl<'de> Deserialize<'de> for IndexKeyPart
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for IndexKeyPart
impl PartialEq for IndexKeyPart
Source§impl Serialize for IndexKeyPart
impl Serialize for IndexKeyPart
impl StructuralPartialEq for IndexKeyPart
Auto Trait Implementations§
impl Freeze for IndexKeyPart
impl RefUnwindSafe for IndexKeyPart
impl Send for IndexKeyPart
impl Sync for IndexKeyPart
impl Unpin for IndexKeyPart
impl UnsafeUnpin for IndexKeyPart
impl UnwindSafe for IndexKeyPart
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