pub struct DataMigrationProjectMetadata {
pub source_server_name: Option<String>,
pub source_server_port: Option<String>,
pub source_username: Option<String>,
pub target_server_name: Option<String>,
pub target_username: Option<String>,
pub target_db_name: Option<String>,
pub target_using_win_auth: Option<bool>,
pub selected_migration_tables: Vec<MigrationTableMetadata>,
}Expand description
Common metadata for migration projects
Fields§
§source_server_name: Option<String>Source server name
source_server_port: Option<String>Source server port number
source_username: Option<String>Source username
target_server_name: Option<String>Target server name
target_username: Option<String>Target username
target_db_name: Option<String>Target database name
target_using_win_auth: Option<bool>Whether target connection is Windows authentication
selected_migration_tables: Vec<MigrationTableMetadata>List of tables selected for migration
Implementations§
Trait Implementations§
Source§impl Clone for DataMigrationProjectMetadata
impl Clone for DataMigrationProjectMetadata
Source§fn clone(&self) -> DataMigrationProjectMetadata
fn clone(&self) -> DataMigrationProjectMetadata
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 DataMigrationProjectMetadata
impl Debug for DataMigrationProjectMetadata
Source§impl Default for DataMigrationProjectMetadata
impl Default for DataMigrationProjectMetadata
Source§fn default() -> DataMigrationProjectMetadata
fn default() -> DataMigrationProjectMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DataMigrationProjectMetadata
impl<'de> Deserialize<'de> for DataMigrationProjectMetadata
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 DataMigrationProjectMetadata
impl PartialEq for DataMigrationProjectMetadata
Source§fn eq(&self, other: &DataMigrationProjectMetadata) -> bool
fn eq(&self, other: &DataMigrationProjectMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DataMigrationProjectMetadata
Auto Trait Implementations§
impl Freeze for DataMigrationProjectMetadata
impl RefUnwindSafe for DataMigrationProjectMetadata
impl Send for DataMigrationProjectMetadata
impl Sync for DataMigrationProjectMetadata
impl Unpin for DataMigrationProjectMetadata
impl UnwindSafe for DataMigrationProjectMetadata
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