pub enum ClarificationKind {
RenameTable {
old: String,
candidates: Vec<String>,
},
RenameColumn {
table: String,
old: String,
candidates: Vec<String>,
},
RenameEnumValue {
enum_name: String,
old: String,
candidates: Vec<String>,
},
NotNullAdd {
table: String,
column: String,
col_type: String,
},
NotNullChange {
table: String,
column: String,
},
TypeCast {
table: String,
column: String,
from: String,
to: String,
},
UnknownType {
table: String,
column: String,
type_name: String,
suggested: Vec<String>,
},
OpaqueEntity {
kind: EntityKind,
name: String,
},
UnmanagedTableOptions {
table: String,
},
}Variants§
RenameTable
RenameColumn
RenameEnumValue
NotNullAdd
NotNullChange
TypeCast
UnknownType
OpaqueEntity
UnmanagedTableOptions
Trait Implementations§
Source§impl Clone for ClarificationKind
impl Clone for ClarificationKind
Source§fn clone(&self) -> ClarificationKind
fn clone(&self) -> ClarificationKind
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 ClarificationKind
impl Debug for ClarificationKind
Source§impl<'de> Deserialize<'de> for ClarificationKind
impl<'de> Deserialize<'de> for ClarificationKind
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 ClarificationKind
impl PartialEq for ClarificationKind
Source§impl Serialize for ClarificationKind
impl Serialize for ClarificationKind
impl StructuralPartialEq for ClarificationKind
Auto Trait Implementations§
impl Freeze for ClarificationKind
impl RefUnwindSafe for ClarificationKind
impl Send for ClarificationKind
impl Sync for ClarificationKind
impl Unpin for ClarificationKind
impl UnsafeUnpin for ClarificationKind
impl UnwindSafe for ClarificationKind
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