pub struct ExportContextSqlExportOptionsMysqlExportOptions {
pub master_data: Option<i32>,
}
Expand description
Options for exporting from MySQL.
This type is not used in any activity, and only used as part of another schema.
Fields§
§master_data: Option<i32>
Option to include SQL statement required to set up replication. If set to 1
, the dump file includes a CHANGE MASTER TO statement with the binary log coordinates, and –set-gtid-purged is set to ON. If set to 2
, the CHANGE MASTER TO statement is written as a SQL comment and has no effect. If set to any value other than 1
, –set-gtid-purged is set to OFF.
Trait Implementations§
source§impl Clone for ExportContextSqlExportOptionsMysqlExportOptions
impl Clone for ExportContextSqlExportOptionsMysqlExportOptions
source§fn clone(&self) -> ExportContextSqlExportOptionsMysqlExportOptions
fn clone(&self) -> ExportContextSqlExportOptionsMysqlExportOptions
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 Default for ExportContextSqlExportOptionsMysqlExportOptions
impl Default for ExportContextSqlExportOptionsMysqlExportOptions
source§fn default() -> ExportContextSqlExportOptionsMysqlExportOptions
fn default() -> ExportContextSqlExportOptionsMysqlExportOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ExportContextSqlExportOptionsMysqlExportOptions
impl<'de> Deserialize<'de> for ExportContextSqlExportOptionsMysqlExportOptions
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
impl NestedType for ExportContextSqlExportOptionsMysqlExportOptions
impl Part for ExportContextSqlExportOptionsMysqlExportOptions
Auto Trait Implementations§
impl RefUnwindSafe for ExportContextSqlExportOptionsMysqlExportOptions
impl Send for ExportContextSqlExportOptionsMysqlExportOptions
impl Sync for ExportContextSqlExportOptionsMysqlExportOptions
impl Unpin for ExportContextSqlExportOptionsMysqlExportOptions
impl UnwindSafe for ExportContextSqlExportOptionsMysqlExportOptions
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