#[non_exhaustive]pub struct AvroSource {
pub gcs_source: Option<GcsSource>,
/* private fields */
}Available on crate feature
featurestore-service only.Expand description
The storage details for Avro 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 AvroSource
impl AvroSource
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 = AvroSource::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 = AvroSource::new().set_or_clear_gcs_source(Some(GcsSource::default()/* use setters */));
let x = AvroSource::new().set_or_clear_gcs_source(None::<GcsSource>);Trait Implementations§
Source§impl Clone for AvroSource
impl Clone for AvroSource
Source§fn clone(&self) -> AvroSource
fn clone(&self) -> AvroSource
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 AvroSource
impl Debug for AvroSource
Source§impl Default for AvroSource
impl Default for AvroSource
Source§fn default() -> AvroSource
fn default() -> AvroSource
Returns the “default value” for a type. Read more
Source§impl PartialEq for AvroSource
impl PartialEq for AvroSource
impl StructuralPartialEq for AvroSource
Auto Trait Implementations§
impl Freeze for AvroSource
impl RefUnwindSafe for AvroSource
impl Send for AvroSource
impl Sync for AvroSource
impl Unpin for AvroSource
impl UnwindSafe for AvroSource
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