Struct gcp_bigquery_client::model::job_configuration_table_copy::JobConfigurationTableCopy
source · [−]pub struct JobConfigurationTableCopy {
pub create_disposition: Option<String>,
pub destination_encryption_configuration: Option<EncryptionConfiguration>,
pub destination_expiration_time: Option<Value>,
pub destination_table: Option<TableReference>,
pub operation_type: Option<String>,
pub source_table: Option<TableReference>,
pub source_tables: Option<Vec<TableReference>>,
pub write_disposition: Option<String>,
}
Fields
create_disposition: Option<String>
[Optional] Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a ‘notFound’ error is returned in the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion.
destination_encryption_configuration: Option<EncryptionConfiguration>
destination_expiration_time: Option<Value>
[Optional] The time when the destination table expires. Expired tables will be deleted and their storage reclaimed.
destination_table: Option<TableReference>
operation_type: Option<String>
[Optional] Supported operation types in table copy job.
source_table: Option<TableReference>
source_tables: Option<Vec<TableReference>>
[Pick one] Source tables to copy.
write_disposition: Option<String>
[Optional] Specifies the action that occurs if the destination table already exists. The following values are supported: WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the table data. WRITE_APPEND: If the table already exists, BigQuery appends the data to the table. WRITE_EMPTY: If the table already exists and contains data, a ‘duplicate’ error is returned in the job result. The default value is WRITE_EMPTY. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion.
Trait Implementations
sourceimpl Clone for JobConfigurationTableCopy
impl Clone for JobConfigurationTableCopy
sourcefn clone(&self) -> JobConfigurationTableCopy
fn clone(&self) -> JobConfigurationTableCopy
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for JobConfigurationTableCopy
impl Debug for JobConfigurationTableCopy
sourceimpl Default for JobConfigurationTableCopy
impl Default for JobConfigurationTableCopy
sourcefn default() -> JobConfigurationTableCopy
fn default() -> JobConfigurationTableCopy
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for JobConfigurationTableCopy
impl<'de> Deserialize<'de> for JobConfigurationTableCopy
sourcefn 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
sourceimpl Serialize for JobConfigurationTableCopy
impl Serialize for JobConfigurationTableCopy
Auto Trait Implementations
impl RefUnwindSafe for JobConfigurationTableCopy
impl Send for JobConfigurationTableCopy
impl Sync for JobConfigurationTableCopy
impl Unpin for JobConfigurationTableCopy
impl UnwindSafe for JobConfigurationTableCopy
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more