#[non_exhaustive]pub struct SourceHierarchyDatasets {
pub dataset_template: Option<DatasetTemplate>,
pub project_id: Option<String>,
/* private fields */
}
Expand description
Destination datasets are created so that hierarchy of the destination data objects matches the source hierarchy.
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_template: Option<DatasetTemplate>
The dataset template to use for dynamic dataset creation.
project_id: Option<String>
Optional. The project id of the BigQuery dataset. If not specified, the project will be inferred from the stream resource.
Implementations§
Source§impl SourceHierarchyDatasets
impl SourceHierarchyDatasets
pub fn new() -> Self
Sourcepub fn set_dataset_template<T>(self, v: T) -> Selfwhere
T: Into<DatasetTemplate>,
pub fn set_dataset_template<T>(self, v: T) -> Selfwhere
T: Into<DatasetTemplate>,
Sets the value of dataset_template.
Sourcepub fn set_or_clear_dataset_template<T>(self, v: Option<T>) -> Selfwhere
T: Into<DatasetTemplate>,
pub fn set_or_clear_dataset_template<T>(self, v: Option<T>) -> Selfwhere
T: Into<DatasetTemplate>,
Sets or clears the value of dataset_template.
Sourcepub fn set_project_id<T>(self, v: T) -> Self
pub fn set_project_id<T>(self, v: T) -> Self
Sets the value of project_id.
Sourcepub fn set_or_clear_project_id<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_project_id<T>(self, v: Option<T>) -> Self
Sets or clears the value of project_id.
Trait Implementations§
Source§impl Clone for SourceHierarchyDatasets
impl Clone for SourceHierarchyDatasets
Source§fn clone(&self) -> SourceHierarchyDatasets
fn clone(&self) -> SourceHierarchyDatasets
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 SourceHierarchyDatasets
impl Debug for SourceHierarchyDatasets
Source§impl Default for SourceHierarchyDatasets
impl Default for SourceHierarchyDatasets
Source§fn default() -> SourceHierarchyDatasets
fn default() -> SourceHierarchyDatasets
Returns the “default value” for a type. Read more
Source§impl Message for SourceHierarchyDatasets
impl Message for SourceHierarchyDatasets
Source§impl PartialEq for SourceHierarchyDatasets
impl PartialEq for SourceHierarchyDatasets
impl StructuralPartialEq for SourceHierarchyDatasets
Auto Trait Implementations§
impl Freeze for SourceHierarchyDatasets
impl RefUnwindSafe for SourceHierarchyDatasets
impl Send for SourceHierarchyDatasets
impl Sync for SourceHierarchyDatasets
impl Unpin for SourceHierarchyDatasets
impl UnwindSafe for SourceHierarchyDatasets
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