pub struct SchemaMigrationSetting {
pub schema_option: Option<SchemaMigrationOption>,
pub file_id: Option<String>,
pub file_name: Option<String>,
}
Expand description
Settings for migrating schema from source to target
Fields§
§schema_option: Option<SchemaMigrationOption>
Option for how schema is extracted and applied to target
file_id: Option<String>
Resource Identifier of a file resource containing the uploaded schema file
file_name: Option<String>
Name of the file resource containing the uploaded schema file
Implementations§
Trait Implementations§
Source§impl Clone for SchemaMigrationSetting
impl Clone for SchemaMigrationSetting
Source§fn clone(&self) -> SchemaMigrationSetting
fn clone(&self) -> SchemaMigrationSetting
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 SchemaMigrationSetting
impl Debug for SchemaMigrationSetting
Source§impl Default for SchemaMigrationSetting
impl Default for SchemaMigrationSetting
Source§fn default() -> SchemaMigrationSetting
fn default() -> SchemaMigrationSetting
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SchemaMigrationSetting
impl<'de> Deserialize<'de> for SchemaMigrationSetting
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 SchemaMigrationSetting
impl PartialEq for SchemaMigrationSetting
Source§impl Serialize for SchemaMigrationSetting
impl Serialize for SchemaMigrationSetting
impl StructuralPartialEq for SchemaMigrationSetting
Auto Trait Implementations§
impl Freeze for SchemaMigrationSetting
impl RefUnwindSafe for SchemaMigrationSetting
impl Send for SchemaMigrationSetting
impl Sync for SchemaMigrationSetting
impl Unpin for SchemaMigrationSetting
impl UnwindSafe for SchemaMigrationSetting
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