#[non_exhaustive]pub struct FeatureValueList {
pub values: Vec<FeatureValue>,
/* private fields */
}Available on crate feature
featurestore-online-serving-service only.Expand description
Container for list of values.
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.values: Vec<FeatureValue>A list of feature values. All of them should be the same data type.
Implementations§
Source§impl FeatureValueList
impl FeatureValueList
pub fn new() -> Self
Sourcepub fn set_values<T, V>(self, v: T) -> Self
pub fn set_values<T, V>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for FeatureValueList
impl Clone for FeatureValueList
Source§fn clone(&self) -> FeatureValueList
fn clone(&self) -> FeatureValueList
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 FeatureValueList
impl Debug for FeatureValueList
Source§impl Default for FeatureValueList
impl Default for FeatureValueList
Source§fn default() -> FeatureValueList
fn default() -> FeatureValueList
Returns the “default value” for a type. Read more
Source§impl Message for FeatureValueList
impl Message for FeatureValueList
Source§impl PartialEq for FeatureValueList
impl PartialEq for FeatureValueList
impl StructuralPartialEq for FeatureValueList
Auto Trait Implementations§
impl Freeze for FeatureValueList
impl RefUnwindSafe for FeatureValueList
impl Send for FeatureValueList
impl Sync for FeatureValueList
impl Unpin for FeatureValueList
impl UnwindSafe for FeatureValueList
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