pub struct NewDataMigration {
pub path: String,
pub summary: Option<String>,
pub description: Option<String>,
pub source_resource_path: String,
pub target_resource_path: String,
pub source_table: String,
pub target_table: String,
pub mapping: Option<Vec<ColumnMapping>>,
pub options: Option<Box<DataMigrationOptions>>,
pub labels: Option<Vec<String>>,
}Expand description
NewDataMigration : The body of create / update for a saved data-migration definition (#1220). source_resource_path / target_resource_path name resources; credentials are never stored, and are resolved fresh through RLS on every run.
Fields§
§path: String§summary: Option<String>§description: Option<String>§source_resource_path: String§target_resource_path: String§source_table: String§target_table: String§mapping: Option<Vec<ColumnMapping>>§options: Option<Box<DataMigrationOptions>>§labels: Option<Vec<String>>Implementations§
Source§impl NewDataMigration
impl NewDataMigration
Sourcepub fn new(
path: String,
source_resource_path: String,
target_resource_path: String,
source_table: String,
target_table: String,
) -> NewDataMigration
pub fn new( path: String, source_resource_path: String, target_resource_path: String, source_table: String, target_table: String, ) -> NewDataMigration
The body of create / update for a saved data-migration definition (#1220). source_resource_path / target_resource_path name resources; credentials are never stored, and are resolved fresh through RLS on every run.
Trait Implementations§
Source§impl Clone for NewDataMigration
impl Clone for NewDataMigration
Source§fn clone(&self) -> NewDataMigration
fn clone(&self) -> NewDataMigration
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 NewDataMigration
impl Debug for NewDataMigration
Source§impl Default for NewDataMigration
impl Default for NewDataMigration
Source§fn default() -> NewDataMigration
fn default() -> NewDataMigration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NewDataMigration
impl<'de> Deserialize<'de> for NewDataMigration
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 NewDataMigration
impl PartialEq for NewDataMigration
Source§impl Serialize for NewDataMigration
impl Serialize for NewDataMigration
impl StructuralPartialEq for NewDataMigration
Auto Trait Implementations§
impl Freeze for NewDataMigration
impl RefUnwindSafe for NewDataMigration
impl Send for NewDataMigration
impl Sync for NewDataMigration
impl Unpin for NewDataMigration
impl UnsafeUnpin for NewDataMigration
impl UnwindSafe for NewDataMigration
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