pub enum SchemaMigrationOption {
None,
ExtractFromSource,
UseStorageFile,
UnknownValue(String),
}
Expand description
Option for how schema is extracted and applied to target
Variants§
Implementations§
Source§impl SchemaMigrationOption
impl SchemaMigrationOption
pub fn serialize<__S>(
__self: &SchemaMigrationOption,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> SchemaMigrationOption
impl<'de> SchemaMigrationOption
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<SchemaMigrationOption, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl Clone for SchemaMigrationOption
impl Clone for SchemaMigrationOption
Source§fn clone(&self) -> SchemaMigrationOption
fn clone(&self) -> SchemaMigrationOption
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 SchemaMigrationOption
impl Debug for SchemaMigrationOption
Source§impl<'de> Deserialize<'de> for SchemaMigrationOption
impl<'de> Deserialize<'de> for SchemaMigrationOption
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 FromStr for SchemaMigrationOption
impl FromStr for SchemaMigrationOption
Source§impl PartialEq for SchemaMigrationOption
impl PartialEq for SchemaMigrationOption
Source§impl Serialize for SchemaMigrationOption
impl Serialize for SchemaMigrationOption
impl StructuralPartialEq for SchemaMigrationOption
Auto Trait Implementations§
impl Freeze for SchemaMigrationOption
impl RefUnwindSafe for SchemaMigrationOption
impl Send for SchemaMigrationOption
impl Sync for SchemaMigrationOption
impl Unpin for SchemaMigrationOption
impl UnwindSafe for SchemaMigrationOption
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