#[non_exhaustive]pub struct TFRecordDestination {
pub gcs_destination: Option<GcsDestination>,
/* private fields */
}Available on crate feature
featurestore-service only.Expand description
The storage details for TFRecord output 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_destination: Option<GcsDestination>Required. Google Cloud Storage location.
Implementations§
Source§impl TFRecordDestination
impl TFRecordDestination
pub fn new() -> Self
Sourcepub fn set_gcs_destination<T>(self, v: T) -> Selfwhere
T: Into<GcsDestination>,
pub fn set_gcs_destination<T>(self, v: T) -> Selfwhere
T: Into<GcsDestination>,
Sets the value of gcs_destination.
§Example
ⓘ
use google_cloud_aiplatform_v1::model::GcsDestination;
let x = TFRecordDestination::new().set_gcs_destination(GcsDestination::default()/* use setters */);Sourcepub fn set_or_clear_gcs_destination<T>(self, v: Option<T>) -> Selfwhere
T: Into<GcsDestination>,
pub fn set_or_clear_gcs_destination<T>(self, v: Option<T>) -> Selfwhere
T: Into<GcsDestination>,
Sets or clears the value of gcs_destination.
§Example
ⓘ
use google_cloud_aiplatform_v1::model::GcsDestination;
let x = TFRecordDestination::new().set_or_clear_gcs_destination(Some(GcsDestination::default()/* use setters */));
let x = TFRecordDestination::new().set_or_clear_gcs_destination(None::<GcsDestination>);Trait Implementations§
Source§impl Clone for TFRecordDestination
impl Clone for TFRecordDestination
Source§fn clone(&self) -> TFRecordDestination
fn clone(&self) -> TFRecordDestination
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 TFRecordDestination
impl Debug for TFRecordDestination
Source§impl Default for TFRecordDestination
impl Default for TFRecordDestination
Source§fn default() -> TFRecordDestination
fn default() -> TFRecordDestination
Returns the “default value” for a type. Read more
Source§impl Message for TFRecordDestination
impl Message for TFRecordDestination
Source§impl PartialEq for TFRecordDestination
impl PartialEq for TFRecordDestination
impl StructuralPartialEq for TFRecordDestination
Auto Trait Implementations§
impl Freeze for TFRecordDestination
impl RefUnwindSafe for TFRecordDestination
impl Send for TFRecordDestination
impl Sync for TFRecordDestination
impl Unpin for TFRecordDestination
impl UnwindSafe for TFRecordDestination
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