#[non_exhaustive]pub struct DataLabelingDataset {
pub dataset: String,
pub dataset_display_name: String,
pub data_labeling_annotated_datasets: Vec<DataLabelingAnnotatedDataset>,
/* private fields */
}Available on crate feature
migration-service only.Expand description
Represents one Dataset in datalabeling.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 data labeling Dataset.
Format:
projects/{project}/datasets/{dataset}.
dataset_display_name: StringThe Dataset’s display name in datalabeling.googleapis.com.
data_labeling_annotated_datasets: Vec<DataLabelingAnnotatedDataset>The migratable AnnotatedDataset in datalabeling.googleapis.com belongs to the data labeling Dataset.
Implementations§
Source§impl DataLabelingDataset
impl DataLabelingDataset
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 = DataLabelingDataset::new().set_dataset_display_name("example");Sourcepub fn set_data_labeling_annotated_datasets<T, V>(self, v: T) -> Self
pub fn set_data_labeling_annotated_datasets<T, V>(self, v: T) -> Self
Sets the value of data_labeling_annotated_datasets.
§Example
ⓘ
use google_cloud_aiplatform_v1::model::migratable_resource::data_labeling_dataset::DataLabelingAnnotatedDataset;
let x = DataLabelingDataset::new()
.set_data_labeling_annotated_datasets([
DataLabelingAnnotatedDataset::default()/* use setters */,
DataLabelingAnnotatedDataset::default()/* use (different) setters */,
]);Trait Implementations§
Source§impl Clone for DataLabelingDataset
impl Clone for DataLabelingDataset
Source§fn clone(&self) -> DataLabelingDataset
fn clone(&self) -> DataLabelingDataset
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 DataLabelingDataset
impl Debug for DataLabelingDataset
Source§impl Default for DataLabelingDataset
impl Default for DataLabelingDataset
Source§fn default() -> DataLabelingDataset
fn default() -> DataLabelingDataset
Returns the “default value” for a type. Read more
Source§impl Message for DataLabelingDataset
impl Message for DataLabelingDataset
Source§impl PartialEq for DataLabelingDataset
impl PartialEq for DataLabelingDataset
impl StructuralPartialEq for DataLabelingDataset
Auto Trait Implementations§
impl Freeze for DataLabelingDataset
impl RefUnwindSafe for DataLabelingDataset
impl Send for DataLabelingDataset
impl Sync for DataLabelingDataset
impl Unpin for DataLabelingDataset
impl UnwindSafe for DataLabelingDataset
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