pub struct MigrationTableMetadata {
pub source_table_name: Option<String>,
pub target_table_name: Option<String>,
}
Expand description
Metadata for tables selected in migration project
Fields§
§source_table_name: Option<String>
Source table name
target_table_name: Option<String>
Target table name
Implementations§
Trait Implementations§
source§impl Clone for MigrationTableMetadata
impl Clone for MigrationTableMetadata
source§fn clone(&self) -> MigrationTableMetadata
fn clone(&self) -> MigrationTableMetadata
Returns a copy 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 MigrationTableMetadata
impl Debug for MigrationTableMetadata
source§impl Default for MigrationTableMetadata
impl Default for MigrationTableMetadata
source§fn default() -> MigrationTableMetadata
fn default() -> MigrationTableMetadata
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MigrationTableMetadata
impl<'de> Deserialize<'de> for MigrationTableMetadata
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<MigrationTableMetadata> for MigrationTableMetadata
impl PartialEq<MigrationTableMetadata> for MigrationTableMetadata
source§fn eq(&self, other: &MigrationTableMetadata) -> bool
fn eq(&self, other: &MigrationTableMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MigrationTableMetadata
impl Serialize for MigrationTableMetadata
impl StructuralPartialEq for MigrationTableMetadata
Auto Trait Implementations§
impl RefUnwindSafe for MigrationTableMetadata
impl Send for MigrationTableMetadata
impl Sync for MigrationTableMetadata
impl Unpin for MigrationTableMetadata
impl UnwindSafe for MigrationTableMetadata
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