#[non_exhaustive]pub struct BigQueryDestination {
pub dataset_id: String,
pub table_id_prefix: String,
pub table_type: String,
/* private fields */
}Expand description
The BigQuery output destination configuration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.dataset_id: StringRequired. The ID of a BigQuery Dataset.
table_id_prefix: StringRequired. The prefix of exported BigQuery tables.
table_type: StringRequired. Describes the table type. The following values are supported:
table: A BigQuery native table.view: A virtual table defined by a SQL query.
Implementations§
Source§impl BigQueryDestination
impl BigQueryDestination
Sourcepub fn set_dataset_id<T: Into<String>>(self, v: T) -> Self
pub fn set_dataset_id<T: Into<String>>(self, v: T) -> Self
Sets the value of dataset_id.
§Example
ⓘ
let x = BigQueryDestination::new().set_dataset_id("example");Sourcepub fn set_table_id_prefix<T: Into<String>>(self, v: T) -> Self
pub fn set_table_id_prefix<T: Into<String>>(self, v: T) -> Self
Sets the value of table_id_prefix.
§Example
ⓘ
let x = BigQueryDestination::new().set_table_id_prefix("example");Sourcepub fn set_table_type<T: Into<String>>(self, v: T) -> Self
pub fn set_table_type<T: Into<String>>(self, v: T) -> Self
Sets the value of table_type.
§Example
ⓘ
let x = BigQueryDestination::new().set_table_type("example");Trait Implementations§
Source§impl Clone for BigQueryDestination
impl Clone for BigQueryDestination
Source§fn clone(&self) -> BigQueryDestination
fn clone(&self) -> BigQueryDestination
Returns a duplicate 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 Debug for BigQueryDestination
impl Debug for BigQueryDestination
Source§impl Default for BigQueryDestination
impl Default for BigQueryDestination
Source§fn default() -> BigQueryDestination
fn default() -> BigQueryDestination
Returns the “default value” for a type. Read more
Source§impl Message for BigQueryDestination
impl Message for BigQueryDestination
Source§impl PartialEq for BigQueryDestination
impl PartialEq for BigQueryDestination
impl StructuralPartialEq for BigQueryDestination
Auto Trait Implementations§
impl Freeze for BigQueryDestination
impl RefUnwindSafe for BigQueryDestination
impl Send for BigQueryDestination
impl Sync for BigQueryDestination
impl Unpin for BigQueryDestination
impl UnsafeUnpin for BigQueryDestination
impl UnwindSafe for BigQueryDestination
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