#[non_exhaustive]pub struct SqlExportOptions {
pub tables: Vec<String>,
pub schema_only: Option<BoolValue>,
pub mysql_export_options: Option<MysqlExportOptions>,
pub threads: Option<Int32Value>,
pub parallel: Option<BoolValue>,
pub postgres_export_options: Option<PostgresExportOptions>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.tables: Vec<String>
Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. For PostgreSQL instances, you can specify only one table.
schema_only: Option<BoolValue>
Export only schemas.
mysql_export_options: Option<MysqlExportOptions>
§threads: Option<Int32Value>
Optional. The number of threads to use for parallel export.
parallel: Option<BoolValue>
Optional. Whether or not the export should be parallel.
postgres_export_options: Option<PostgresExportOptions>
Optional. Options for exporting from a Cloud SQL for PostgreSQL instance.
Implementations§
Source§impl SqlExportOptions
impl SqlExportOptions
pub fn new() -> Self
Sourcepub fn set_tables<T, V>(self, v: T) -> Self
pub fn set_tables<T, V>(self, v: T) -> Self
Sets the value of tables.
Sourcepub fn set_schema_only<T>(self, v: T) -> Self
pub fn set_schema_only<T>(self, v: T) -> Self
Sets the value of schema_only.
Sourcepub fn set_or_clear_schema_only<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_schema_only<T>(self, v: Option<T>) -> Self
Sets or clears the value of schema_only.
Sourcepub fn set_mysql_export_options<T>(self, v: T) -> Selfwhere
T: Into<MysqlExportOptions>,
pub fn set_mysql_export_options<T>(self, v: T) -> Selfwhere
T: Into<MysqlExportOptions>,
Sets the value of mysql_export_options.
Sourcepub fn set_or_clear_mysql_export_options<T>(self, v: Option<T>) -> Selfwhere
T: Into<MysqlExportOptions>,
pub fn set_or_clear_mysql_export_options<T>(self, v: Option<T>) -> Selfwhere
T: Into<MysqlExportOptions>,
Sets or clears the value of mysql_export_options.
Sourcepub fn set_threads<T>(self, v: T) -> Selfwhere
T: Into<Int32Value>,
pub fn set_threads<T>(self, v: T) -> Selfwhere
T: Into<Int32Value>,
Sets the value of threads.
Sourcepub fn set_or_clear_threads<T>(self, v: Option<T>) -> Selfwhere
T: Into<Int32Value>,
pub fn set_or_clear_threads<T>(self, v: Option<T>) -> Selfwhere
T: Into<Int32Value>,
Sets or clears the value of threads.
Sourcepub fn set_parallel<T>(self, v: T) -> Self
pub fn set_parallel<T>(self, v: T) -> Self
Sets the value of parallel.
Sourcepub fn set_or_clear_parallel<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_parallel<T>(self, v: Option<T>) -> Self
Sets or clears the value of parallel.
Sourcepub fn set_postgres_export_options<T>(self, v: T) -> Selfwhere
T: Into<PostgresExportOptions>,
pub fn set_postgres_export_options<T>(self, v: T) -> Selfwhere
T: Into<PostgresExportOptions>,
Sets the value of postgres_export_options.
Sourcepub fn set_or_clear_postgres_export_options<T>(self, v: Option<T>) -> Selfwhere
T: Into<PostgresExportOptions>,
pub fn set_or_clear_postgres_export_options<T>(self, v: Option<T>) -> Selfwhere
T: Into<PostgresExportOptions>,
Sets or clears the value of postgres_export_options.
Trait Implementations§
Source§impl Clone for SqlExportOptions
impl Clone for SqlExportOptions
Source§fn clone(&self) -> SqlExportOptions
fn clone(&self) -> SqlExportOptions
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more