[−][src]Struct google_sql1_beta4::ImportContext
Database instance import context.
This type is not used in any activity, and only used as part of another schema.
Fields
bak_import_options: Option<ImportContextBakImportOptions>
Import parameters specific to SQL Server .BAK files
kind: Option<String>
This is always sql#importContext
.
import_user: Option<String>
The PostgreSQL user for this import operation. PostgreSQL instances only.
database: Option<String>
The target database for the import. If fileType
is
SQL
, this field is required only if the import file does not
specify a database, and is overridden by any database specification in the
import file. If fileType
is CSV
, one database
must be specified.
file_type: Option<String>
The file type for the specified uri. SQL
: The file
contains SQL statements. CSV
: The file contains CSV data.
csv_import_options: Option<ImportContextCsvImportOptions>
Options for importing data as CSV.
uri: Option<String>
Path to the import file in Cloud Storage, in the form
gs:
//bucketName/fileName
. Compressed gzip files (.gz) are supported
// when fileType
is SQL
. The instance must have
// write permissions to the bucket and read access to the file.
Trait Implementations
impl Clone for ImportContext
[src]
fn clone(&self) -> ImportContext
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ImportContext
[src]
impl Default for ImportContext
[src]
fn default() -> ImportContext
[src]
impl<'de> Deserialize<'de> for ImportContext
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for ImportContext
[src]
impl Serialize for ImportContext
[src]
Auto Trait Implementations
impl RefUnwindSafe for ImportContext
impl Send for ImportContext
impl Sync for ImportContext
impl Unpin for ImportContext
impl UnwindSafe for ImportContext
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,