#[non_exhaustive]pub struct DestinationDatasetReference {
pub dataset_id: String,
pub project_id: String,
/* private fields */
}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. A unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters.
project_id: StringRequired. The ID of the project containing this dataset.
Implementations§
Source§impl DestinationDatasetReference
impl DestinationDatasetReference
pub fn new() -> Self
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 = DestinationDatasetReference::new().set_dataset_id("example");Sourcepub fn set_project_id<T: Into<String>>(self, v: T) -> Self
pub fn set_project_id<T: Into<String>>(self, v: T) -> Self
Sets the value of project_id.
§Example
ⓘ
let x = DestinationDatasetReference::new().set_project_id("example");Trait Implementations§
Source§impl Clone for DestinationDatasetReference
impl Clone for DestinationDatasetReference
Source§fn clone(&self) -> DestinationDatasetReference
fn clone(&self) -> DestinationDatasetReference
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 DestinationDatasetReference
impl Debug for DestinationDatasetReference
Source§impl Default for DestinationDatasetReference
impl Default for DestinationDatasetReference
Source§fn default() -> DestinationDatasetReference
fn default() -> DestinationDatasetReference
Returns the “default value” for a type. Read more
impl StructuralPartialEq for DestinationDatasetReference
Auto Trait Implementations§
impl Freeze for DestinationDatasetReference
impl RefUnwindSafe for DestinationDatasetReference
impl Send for DestinationDatasetReference
impl Sync for DestinationDatasetReference
impl Unpin for DestinationDatasetReference
impl UnwindSafe for DestinationDatasetReference
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