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