#[non_exhaustive]pub struct FeatureValueDestination {
pub destination: Option<Destination>,
/* private fields */
}Expand description
A destination location for Feature values and format.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.destination: Option<Destination>Implementations§
Source§impl FeatureValueDestination
impl FeatureValueDestination
pub fn new() -> Self
Sourcepub fn set_destination<T: Into<Option<Destination>>>(self, v: T) -> Self
pub fn set_destination<T: Into<Option<Destination>>>(self, v: T) -> Self
Sets the value of destination.
Note that all the setters affecting destination are mutually
exclusive.
Sourcepub fn bigquery_destination(&self) -> Option<&Box<BigQueryDestination>>
pub fn bigquery_destination(&self) -> Option<&Box<BigQueryDestination>>
The value of destination
if it holds a BigqueryDestination, None if the field is not set or
holds a different branch.
Sourcepub fn set_bigquery_destination<T: Into<Box<BigQueryDestination>>>(
self,
v: T,
) -> Self
pub fn set_bigquery_destination<T: Into<Box<BigQueryDestination>>>( self, v: T, ) -> Self
Sets the value of destination
to hold a BigqueryDestination.
Note that all the setters affecting destination are
mutually exclusive.
Sourcepub fn tfrecord_destination(&self) -> Option<&Box<TFRecordDestination>>
pub fn tfrecord_destination(&self) -> Option<&Box<TFRecordDestination>>
The value of destination
if it holds a TfrecordDestination, None if the field is not set or
holds a different branch.
Sourcepub fn set_tfrecord_destination<T: Into<Box<TFRecordDestination>>>(
self,
v: T,
) -> Self
pub fn set_tfrecord_destination<T: Into<Box<TFRecordDestination>>>( self, v: T, ) -> Self
Sets the value of destination
to hold a TfrecordDestination.
Note that all the setters affecting destination are
mutually exclusive.
Sourcepub fn csv_destination(&self) -> Option<&Box<CsvDestination>>
pub fn csv_destination(&self) -> Option<&Box<CsvDestination>>
The value of destination
if it holds a CsvDestination, None if the field is not set or
holds a different branch.
Sourcepub fn set_csv_destination<T: Into<Box<CsvDestination>>>(self, v: T) -> Self
pub fn set_csv_destination<T: Into<Box<CsvDestination>>>(self, v: T) -> Self
Sets the value of destination
to hold a CsvDestination.
Note that all the setters affecting destination are
mutually exclusive.
Trait Implementations§
Source§impl Clone for FeatureValueDestination
impl Clone for FeatureValueDestination
Source§fn clone(&self) -> FeatureValueDestination
fn clone(&self) -> FeatureValueDestination
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more