#[non_exhaustive]pub struct MigrateAutomlDatasetConfig {
pub dataset: String,
pub dataset_display_name: String,
/* private fields */
}Available on crate feature
migration-service only.Expand description
Config for migrating Dataset in automl.googleapis.com to Vertex AI’s Dataset.
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: StringRequired. Full resource name of automl Dataset.
Format:
projects/{project}/locations/{location}/datasets/{dataset}.
dataset_display_name: StringRequired. Display name of the Dataset in Vertex AI. System will pick a display name if unspecified.
Implementations§
Source§impl MigrateAutomlDatasetConfig
impl MigrateAutomlDatasetConfig
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 = MigrateAutomlDatasetConfig::new().set_dataset_display_name("example");Trait Implementations§
Source§impl Clone for MigrateAutomlDatasetConfig
impl Clone for MigrateAutomlDatasetConfig
Source§fn clone(&self) -> MigrateAutomlDatasetConfig
fn clone(&self) -> MigrateAutomlDatasetConfig
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 MigrateAutomlDatasetConfig
impl Debug for MigrateAutomlDatasetConfig
Source§impl Default for MigrateAutomlDatasetConfig
impl Default for MigrateAutomlDatasetConfig
Source§fn default() -> MigrateAutomlDatasetConfig
fn default() -> MigrateAutomlDatasetConfig
Returns the “default value” for a type. Read more
Source§impl Message for MigrateAutomlDatasetConfig
impl Message for MigrateAutomlDatasetConfig
impl StructuralPartialEq for MigrateAutomlDatasetConfig
Auto Trait Implementations§
impl Freeze for MigrateAutomlDatasetConfig
impl RefUnwindSafe for MigrateAutomlDatasetConfig
impl Send for MigrateAutomlDatasetConfig
impl Sync for MigrateAutomlDatasetConfig
impl Unpin for MigrateAutomlDatasetConfig
impl UnwindSafe for MigrateAutomlDatasetConfig
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