pub enum TableKey {
PrimaryKey(Vec<Column>),
UniqueKey(Option<String>, Vec<Column>),
FulltextKey(Option<String>, Vec<Column>),
Key(String, Vec<Column>),
}
Variants§
PrimaryKey(Vec<Column>)
UniqueKey(Option<String>, Vec<Column>)
FulltextKey(Option<String>, Vec<Column>)
Key(String, Vec<Column>)
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
impl Eq for TableKey
impl StructuralPartialEq for TableKey
Auto Trait Implementations§
impl Freeze for TableKey
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