#[non_exhaustive]pub struct DatasetDescriptionBuilder { /* private fields */ }Expand description
A builder for DatasetDescription.
Implementations§
source§impl DatasetDescriptionBuilder
impl DatasetDescriptionBuilder
sourcepub fn project_name(self, input: impl Into<String>) -> Self
pub fn project_name(self, input: impl Into<String>) -> Self
The name of the project that contains the dataset.
sourcepub fn set_project_name(self, input: Option<String>) -> Self
pub fn set_project_name(self, input: Option<String>) -> Self
The name of the project that contains the dataset.
sourcepub fn get_project_name(&self) -> &Option<String>
pub fn get_project_name(&self) -> &Option<String>
The name of the project that contains the dataset.
sourcepub fn dataset_type(self, input: impl Into<String>) -> Self
pub fn dataset_type(self, input: impl Into<String>) -> Self
The type of the dataset. The value train represents a training dataset or single dataset project. The value test represents a test dataset.
sourcepub fn set_dataset_type(self, input: Option<String>) -> Self
pub fn set_dataset_type(self, input: Option<String>) -> Self
The type of the dataset. The value train represents a training dataset or single dataset project. The value test represents a test dataset.
sourcepub fn get_dataset_type(&self) -> &Option<String>
pub fn get_dataset_type(&self) -> &Option<String>
The type of the dataset. The value train represents a training dataset or single dataset project. The value test represents a test dataset.
sourcepub fn creation_timestamp(self, input: DateTime) -> Self
pub fn creation_timestamp(self, input: DateTime) -> Self
The Unix timestamp for the time and date that the dataset was created.
sourcepub fn set_creation_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_creation_timestamp(self, input: Option<DateTime>) -> Self
The Unix timestamp for the time and date that the dataset was created.
sourcepub fn get_creation_timestamp(&self) -> &Option<DateTime>
pub fn get_creation_timestamp(&self) -> &Option<DateTime>
The Unix timestamp for the time and date that the dataset was created.
sourcepub fn last_updated_timestamp(self, input: DateTime) -> Self
pub fn last_updated_timestamp(self, input: DateTime) -> Self
The Unix timestamp for the date and time that the dataset was last updated.
sourcepub fn set_last_updated_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_timestamp(self, input: Option<DateTime>) -> Self
The Unix timestamp for the date and time that the dataset was last updated.
sourcepub fn get_last_updated_timestamp(&self) -> &Option<DateTime>
pub fn get_last_updated_timestamp(&self) -> &Option<DateTime>
The Unix timestamp for the date and time that the dataset was last updated.
sourcepub fn status(self, input: DatasetStatus) -> Self
pub fn status(self, input: DatasetStatus) -> Self
The status of the dataset.
sourcepub fn set_status(self, input: Option<DatasetStatus>) -> Self
pub fn set_status(self, input: Option<DatasetStatus>) -> Self
The status of the dataset.
sourcepub fn get_status(&self) -> &Option<DatasetStatus>
pub fn get_status(&self) -> &Option<DatasetStatus>
The status of the dataset.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
The status message for the dataset.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
The status message for the dataset.
sourcepub fn get_status_message(&self) -> &Option<String>
pub fn get_status_message(&self) -> &Option<String>
The status message for the dataset.
sourcepub fn image_stats(self, input: DatasetImageStats) -> Self
pub fn image_stats(self, input: DatasetImageStats) -> Self
Statistics about the images in a dataset.
sourcepub fn set_image_stats(self, input: Option<DatasetImageStats>) -> Self
pub fn set_image_stats(self, input: Option<DatasetImageStats>) -> Self
Statistics about the images in a dataset.
sourcepub fn get_image_stats(&self) -> &Option<DatasetImageStats>
pub fn get_image_stats(&self) -> &Option<DatasetImageStats>
Statistics about the images in a dataset.
sourcepub fn build(self) -> DatasetDescription
pub fn build(self) -> DatasetDescription
Consumes the builder and constructs a DatasetDescription.
Trait Implementations§
source§impl Clone for DatasetDescriptionBuilder
impl Clone for DatasetDescriptionBuilder
source§fn clone(&self) -> DatasetDescriptionBuilder
fn clone(&self) -> DatasetDescriptionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DatasetDescriptionBuilder
impl Debug for DatasetDescriptionBuilder
source§impl Default for DatasetDescriptionBuilder
impl Default for DatasetDescriptionBuilder
source§fn default() -> DatasetDescriptionBuilder
fn default() -> DatasetDescriptionBuilder
source§impl PartialEq for DatasetDescriptionBuilder
impl PartialEq for DatasetDescriptionBuilder
source§fn eq(&self, other: &DatasetDescriptionBuilder) -> bool
fn eq(&self, other: &DatasetDescriptionBuilder) -> bool
self and other values to be equal, and is used
by ==.