pub struct SessionConfigValueItem {
pub value: String,
pub label: String,
pub description: Option<String>,
}Expand description
A single value item returned by sessionConfigCompletions.
Fields§
§value: StringThe value to store in config
label: StringHuman-readable display label
description: Option<String>Optional secondary description
Trait Implementations§
Source§impl Clone for SessionConfigValueItem
impl Clone for SessionConfigValueItem
Source§fn clone(&self) -> SessionConfigValueItem
fn clone(&self) -> SessionConfigValueItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SessionConfigValueItem
impl Debug for SessionConfigValueItem
Source§impl<'de> Deserialize<'de> for SessionConfigValueItem
impl<'de> Deserialize<'de> for SessionConfigValueItem
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 SessionConfigValueItem
impl PartialEq for SessionConfigValueItem
Source§fn eq(&self, other: &SessionConfigValueItem) -> bool
fn eq(&self, other: &SessionConfigValueItem) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SessionConfigValueItem
impl Serialize for SessionConfigValueItem
impl StructuralPartialEq for SessionConfigValueItem
Auto Trait Implementations§
impl Freeze for SessionConfigValueItem
impl RefUnwindSafe for SessionConfigValueItem
impl Send for SessionConfigValueItem
impl Sync for SessionConfigValueItem
impl Unpin for SessionConfigValueItem
impl UnsafeUnpin for SessionConfigValueItem
impl UnwindSafe for SessionConfigValueItem
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