#[non_exhaustive]pub struct ExportDataResponse {
pub exported_files: Vec<String>,
pub data_stats: Option<DataStats>,
/* private fields */
}Available on crate feature
dataset-service only.Expand description
Response message for DatasetService.ExportData.
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.exported_files: Vec<String>All of the files that are exported in this export operation. For custom code training export, only three (training, validation and test) Cloud Storage paths in wildcard format are populated (for example, gs://…/training-*).
data_stats: Option<DataStats>Only present for custom code training export use case. Records data stats, i.e., train/validation/test item/annotation counts calculated during the export operation.
Implementations§
Source§impl ExportDataResponse
impl ExportDataResponse
pub fn new() -> Self
Sourcepub fn set_exported_files<T, V>(self, v: T) -> Self
pub fn set_exported_files<T, V>(self, v: T) -> Self
Sets the value of exported_files.
§Example
ⓘ
let x = ExportDataResponse::new().set_exported_files(["a", "b", "c"]);Sourcepub fn set_data_stats<T>(self, v: T) -> Self
pub fn set_data_stats<T>(self, v: T) -> Self
Sets the value of data_stats.
§Example
ⓘ
use google_cloud_aiplatform_v1::model::model::DataStats;
let x = ExportDataResponse::new().set_data_stats(DataStats::default()/* use setters */);Sourcepub fn set_or_clear_data_stats<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_data_stats<T>(self, v: Option<T>) -> Self
Sets or clears the value of data_stats.
§Example
ⓘ
use google_cloud_aiplatform_v1::model::model::DataStats;
let x = ExportDataResponse::new().set_or_clear_data_stats(Some(DataStats::default()/* use setters */));
let x = ExportDataResponse::new().set_or_clear_data_stats(None::<DataStats>);Trait Implementations§
Source§impl Clone for ExportDataResponse
impl Clone for ExportDataResponse
Source§fn clone(&self) -> ExportDataResponse
fn clone(&self) -> ExportDataResponse
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 ExportDataResponse
impl Debug for ExportDataResponse
Source§impl Default for ExportDataResponse
impl Default for ExportDataResponse
Source§fn default() -> ExportDataResponse
fn default() -> ExportDataResponse
Returns the “default value” for a type. Read more
Source§impl Message for ExportDataResponse
impl Message for ExportDataResponse
Source§impl PartialEq for ExportDataResponse
impl PartialEq for ExportDataResponse
impl StructuralPartialEq for ExportDataResponse
Auto Trait Implementations§
impl Freeze for ExportDataResponse
impl RefUnwindSafe for ExportDataResponse
impl Send for ExportDataResponse
impl Sync for ExportDataResponse
impl Unpin for ExportDataResponse
impl UnwindSafe for ExportDataResponse
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