pub enum KeyPartType {
ColumnNameWithLength {
col_name: String,
length: Option<usize>,
},
Expr {
expr: String,
},
}
Expand description
parse {col_name [(length)] | (expr)}
Variants§
Trait Implementations§
Source§impl Clone for KeyPartType
impl Clone for KeyPartType
Source§fn clone(&self) -> KeyPartType
fn clone(&self) -> KeyPartType
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 KeyPartType
impl Debug for KeyPartType
Source§impl<'de> Deserialize<'de> for KeyPartType
impl<'de> Deserialize<'de> for KeyPartType
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 Display for KeyPartType
impl Display for KeyPartType
Source§impl Hash for KeyPartType
impl Hash for KeyPartType
Source§impl PartialEq for KeyPartType
impl PartialEq for KeyPartType
Source§impl Serialize for KeyPartType
impl Serialize for KeyPartType
impl Eq for KeyPartType
impl StructuralPartialEq for KeyPartType
Auto Trait Implementations§
impl Freeze for KeyPartType
impl RefUnwindSafe for KeyPartType
impl Send for KeyPartType
impl Sync for KeyPartType
impl Unpin for KeyPartType
impl UnwindSafe for KeyPartType
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