pub struct ConfigOptionMeta {
pub multi_select: bool,
}Expand description
Meta for a top-level SessionConfigOption (e.g. the “model” config).
Fields§
§multi_select: boolImplementations§
Trait Implementations§
Source§impl Clone for ConfigOptionMeta
impl Clone for ConfigOptionMeta
Source§fn clone(&self) -> ConfigOptionMeta
fn clone(&self) -> ConfigOptionMeta
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 ConfigOptionMeta
impl Debug for ConfigOptionMeta
Source§impl Default for ConfigOptionMeta
impl Default for ConfigOptionMeta
Source§fn default() -> ConfigOptionMeta
fn default() -> ConfigOptionMeta
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConfigOptionMeta
impl<'de> Deserialize<'de> for ConfigOptionMeta
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 PartialEq for ConfigOptionMeta
impl PartialEq for ConfigOptionMeta
Source§impl Serialize for ConfigOptionMeta
impl Serialize for ConfigOptionMeta
impl Eq for ConfigOptionMeta
impl StructuralPartialEq for ConfigOptionMeta
Auto Trait Implementations§
impl Freeze for ConfigOptionMeta
impl RefUnwindSafe for ConfigOptionMeta
impl Send for ConfigOptionMeta
impl Sync for ConfigOptionMeta
impl Unpin for ConfigOptionMeta
impl UnsafeUnpin for ConfigOptionMeta
impl UnwindSafe for ConfigOptionMeta
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.