#[non_exhaustive]pub enum FeatureViewDataFormat {
Unspecified,
KeyValue,
ProtoStruct,
UnknownValue(UnknownValue),
}Expand description
Format of the data in the Feature View.
§Working with unknown values
This enum is defined as #[non_exhaustive] because Google Cloud may add
additional enum variants at any time. Adding new variants is not considered
a breaking change. Applications should write their code in anticipation of:
- New values appearing in future releases of the client library, and
- New values received dynamically, without application changes.
Please consult the Working with enums section in the user guide for some guidelines.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unspecified
Not set. Will be treated as the KeyValue format.
KeyValue
Return response data in key-value format.
ProtoStruct
Return response data in proto Struct format.
UnknownValue(UnknownValue)
If set, the enum was initialized with an unknown value.
Applications can examine the value using FeatureViewDataFormat::value or FeatureViewDataFormat::name.
Implementations§
Trait Implementations§
Source§impl Clone for FeatureViewDataFormat
impl Clone for FeatureViewDataFormat
Source§fn clone(&self) -> FeatureViewDataFormat
fn clone(&self) -> FeatureViewDataFormat
Returns a copy 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 FeatureViewDataFormat
impl Debug for FeatureViewDataFormat
Source§impl Default for FeatureViewDataFormat
impl Default for FeatureViewDataFormat
Source§impl<'de> Deserialize<'de> for FeatureViewDataFormat
impl<'de> Deserialize<'de> for FeatureViewDataFormat
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for FeatureViewDataFormat
impl Display for FeatureViewDataFormat
Source§impl From<&str> for FeatureViewDataFormat
impl From<&str> for FeatureViewDataFormat
Source§impl From<i32> for FeatureViewDataFormat
impl From<i32> for FeatureViewDataFormat
Source§impl PartialEq for FeatureViewDataFormat
impl PartialEq for FeatureViewDataFormat
Source§impl Serialize for FeatureViewDataFormat
impl Serialize for FeatureViewDataFormat
impl StructuralPartialEq for FeatureViewDataFormat
Auto Trait Implementations§
impl Freeze for FeatureViewDataFormat
impl RefUnwindSafe for FeatureViewDataFormat
impl Send for FeatureViewDataFormat
impl Sync for FeatureViewDataFormat
impl Unpin for FeatureViewDataFormat
impl UnwindSafe for FeatureViewDataFormat
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