Enum senax_mysql_parser::common::TableKey
source · pub enum TableKey {
PrimaryKey(Vec<Column>),
UniqueKey(String, Vec<Column>),
FulltextKey(String, Vec<Column>, Option<String>),
Key(String, Vec<Column>),
SpatialKey(String, Vec<Column>),
Constraint(String, Vec<Column>, String, Vec<Column>, Option<ReferenceOption>, Option<ReferenceOption>),
}Variants§
PrimaryKey(Vec<Column>)
UniqueKey(String, Vec<Column>)
FulltextKey(String, Vec<Column>, Option<String>)
Key(String, Vec<Column>)
SpatialKey(String, Vec<Column>)
Constraint(String, Vec<Column>, String, Vec<Column>, Option<ReferenceOption>, Option<ReferenceOption>)
Trait Implementations§
source§impl<'de> Deserialize<'de> for TableKey
impl<'de> Deserialize<'de> for TableKey
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 TableKey
impl PartialEq for TableKey
impl Eq for TableKey
impl StructuralEq for TableKey
impl StructuralPartialEq for TableKey
Auto Trait Implementations§
impl RefUnwindSafe for TableKey
impl Send for TableKey
impl Sync for TableKey
impl Unpin for TableKey
impl UnwindSafe for TableKey
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