#[repr(i32)]pub enum SchemaMode {
FailIfExists = 0,
OkIfExact = 1,
AddNewColumns = 2,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SchemaMode
impl Clone for SchemaMode
Source§fn clone(&self) -> SchemaMode
fn clone(&self) -> SchemaMode
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 SchemaMode
impl Debug for SchemaMode
Source§impl Default for SchemaMode
impl Default for SchemaMode
Source§fn default() -> SchemaMode
fn default() -> SchemaMode
Returns the “default value” for a type. Read more
Source§impl From<SchemaMode> for i32
impl From<SchemaMode> for i32
Source§fn from(value: SchemaMode) -> i32
fn from(value: SchemaMode) -> i32
Converts to this type from the input type.
Source§impl Hash for SchemaMode
impl Hash for SchemaMode
Source§impl Ord for SchemaMode
impl Ord for SchemaMode
Source§fn cmp(&self, other: &SchemaMode) -> Ordering
fn cmp(&self, other: &SchemaMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SchemaMode
impl PartialEq for SchemaMode
Source§impl PartialOrd for SchemaMode
impl PartialOrd for SchemaMode
impl Copy for SchemaMode
impl Eq for SchemaMode
impl StructuralPartialEq for SchemaMode
Auto Trait Implementations§
impl Freeze for SchemaMode
impl RefUnwindSafe for SchemaMode
impl Send for SchemaMode
impl Sync for SchemaMode
impl Unpin for SchemaMode
impl UnwindSafe for SchemaMode
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