#[non_exhaustive]pub struct StructValue {
pub values: Vec<StructFieldValue>,
/* private fields */
}Available on crate features
feature-online-store-service or featurestore-online-serving-service only.Expand description
Struct (or object) type feature value.
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<StructFieldValue>A list of field values.
Implementations§
Source§impl StructValue
impl StructValue
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 StructValue
impl Clone for StructValue
Source§fn clone(&self) -> StructValue
fn clone(&self) -> StructValue
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 StructValue
impl Debug for StructValue
Source§impl Default for StructValue
impl Default for StructValue
Source§fn default() -> StructValue
fn default() -> StructValue
Returns the “default value” for a type. Read more
Source§impl Message for StructValue
impl Message for StructValue
Source§impl PartialEq for StructValue
impl PartialEq for StructValue
impl StructuralPartialEq for StructValue
Auto Trait Implementations§
impl Freeze for StructValue
impl RefUnwindSafe for StructValue
impl Send for StructValue
impl Sync for StructValue
impl Unpin for StructValue
impl UnwindSafe for StructValue
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