#[non_exhaustive]pub struct CsvSource {
pub gcs_source: Option<GcsSource>,
/* private fields */
}Available on crate feature
featurestore-service only.Expand description
The storage details for CSV input content.
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.gcs_source: Option<GcsSource>Required. Google Cloud Storage location.
Implementations§
Source§impl CsvSource
impl CsvSource
pub fn new() -> Self
Sourcepub fn set_gcs_source<T>(self, v: T) -> Self
pub fn set_gcs_source<T>(self, v: T) -> Self
Sets the value of gcs_source.
§Example
ⓘ
use google_cloud_aiplatform_v1::model::GcsSource;
let x = CsvSource::new().set_gcs_source(GcsSource::default()/* use setters */);Sourcepub fn set_or_clear_gcs_source<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_gcs_source<T>(self, v: Option<T>) -> Self
Sets or clears the value of gcs_source.
§Example
ⓘ
use google_cloud_aiplatform_v1::model::GcsSource;
let x = CsvSource::new().set_or_clear_gcs_source(Some(GcsSource::default()/* use setters */));
let x = CsvSource::new().set_or_clear_gcs_source(None::<GcsSource>);Trait Implementations§
impl StructuralPartialEq for CsvSource
Auto Trait Implementations§
impl Freeze for CsvSource
impl RefUnwindSafe for CsvSource
impl Send for CsvSource
impl Sync for CsvSource
impl Unpin for CsvSource
impl UnwindSafe for CsvSource
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