Struct google_sqladmin1_beta4::ExportContext [−][src]
pub struct ExportContext { pub csv_export_options: Option<ExportContextCsvExportOptions>, pub kind: Option<String>, pub databases: Option<Vec<String>>, pub file_type: Option<String>, pub sql_export_options: Option<ExportContextSqlExportOptions>, pub uri: Option<String>, }
Database instance export context.
This type is not used in any activity, and only used as part of another schema.
Fields
csv_export_options: Option<ExportContextCsvExportOptions>
Options for exporting data as CSV.
kind: Option<String>
This is always sql#exportContext.
databases: Option<Vec<String>>
Databases (for example, guestbook) from which the export is made. If fileType is SQL and no database is specified, all databases are exported. If fileType is CSV, you can optionally specify at most one database to export. If csvExportOptions.selectQuery also specifies the database, this field will be ignored.
file_type: Option<String>
The file type for the specified uri. SQL: The file contains SQL statements. CSV: The file contains CSV data.
sql_export_options: Option<ExportContextSqlExportOptions>
Options for exporting data as SQL statements.
uri: Option<String>
The path to the file in Google Cloud Storage where the export will be stored. The URI is in the form gs://bucketName/fileName. If the file already exists, the operation fails. If fileType is SQL and the filename ends with .gz, the contents are compressed.
Trait Implementations
impl Default for ExportContext
[src]
impl Default for ExportContext
fn default() -> ExportContext
[src]
fn default() -> ExportContext
Returns the "default value" for a type. Read more
impl Clone for ExportContext
[src]
impl Clone for ExportContext
fn clone(&self) -> ExportContext
[src]
fn clone(&self) -> ExportContext
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for ExportContext
[src]
impl Debug for ExportContext
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for ExportContext
[src]
impl Part for ExportContext
Auto Trait Implementations
impl Send for ExportContext
impl Send for ExportContext
impl Sync for ExportContext
impl Sync for ExportContext