#[non_exhaustive]pub struct AutomlDataset {
pub dataset: String,
pub dataset_display_name: String,
/* private fields */
}Available on crate feature
migration-service only.Expand description
Represents one Dataset in automl.googleapis.com.
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: StringFull resource name of automl Dataset.
Format:
projects/{project}/locations/{location}/datasets/{dataset}.
dataset_display_name: StringThe Dataset’s display name in automl.googleapis.com.
Implementations§
Source§impl AutomlDataset
impl AutomlDataset
pub fn new() -> Self
Sourcepub fn set_dataset<T: Into<String>>(self, v: T) -> Self
pub fn set_dataset<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_dataset_display_name<T: Into<String>>(self, v: T) -> Self
pub fn set_dataset_display_name<T: Into<String>>(self, v: T) -> Self
Sets the value of dataset_display_name.
§Example
ⓘ
let x = AutomlDataset::new().set_dataset_display_name("example");Trait Implementations§
Source§impl Clone for AutomlDataset
impl Clone for AutomlDataset
Source§fn clone(&self) -> AutomlDataset
fn clone(&self) -> AutomlDataset
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 AutomlDataset
impl Debug for AutomlDataset
Source§impl Default for AutomlDataset
impl Default for AutomlDataset
Source§fn default() -> AutomlDataset
fn default() -> AutomlDataset
Returns the “default value” for a type. Read more
Source§impl Message for AutomlDataset
impl Message for AutomlDataset
Source§impl PartialEq for AutomlDataset
impl PartialEq for AutomlDataset
impl StructuralPartialEq for AutomlDataset
Auto Trait Implementations§
impl Freeze for AutomlDataset
impl RefUnwindSafe for AutomlDataset
impl Send for AutomlDataset
impl Sync for AutomlDataset
impl Unpin for AutomlDataset
impl UnwindSafe for AutomlDataset
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