#[non_exhaustive]pub enum Value {
BoolValue(bool),
DoubleValue(f64),
Int64Value(i64),
StringValue(String),
BoolArrayValue(Box<BoolArray>),
DoubleArrayValue(Box<DoubleArray>),
Int64ArrayValue(Box<Int64Array>),
StringArrayValue(Box<StringArray>),
BytesValue(Bytes),
StructValue(Box<StructValue>),
}Available on crate features
feature-online-store-service or featurestore-online-serving-service only.Expand description
Value for the feature.
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.
BoolValue(bool)
Bool type feature value.
DoubleValue(f64)
Double type feature value.
Int64Value(i64)
Int64 feature value.
StringValue(String)
String feature value.
BoolArrayValue(Box<BoolArray>)
A list of bool type feature value.
DoubleArrayValue(Box<DoubleArray>)
A list of double type feature value.
Int64ArrayValue(Box<Int64Array>)
A list of int64 type feature value.
StringArrayValue(Box<StringArray>)
A list of string type feature value.
BytesValue(Bytes)
Bytes feature value.
StructValue(Box<StructValue>)
A struct type feature value.
Trait Implementations§
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl !Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnsafeUnpin for Value
impl UnwindSafe for Value
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