pub struct SessionConfigOption {
pub id: String,
pub name: String,
pub description: Option<String>,
pub current_value: String,
pub options: Option<Vec<String>>,
}Expand description
A session configuration option. The agent
advertises the set of options the consumer can
set via SetSessionConfigOptionRequest.
Fields§
§id: StringThe unique id of the option. The consumer
references this id in
SetSessionConfigOptionRequest.
name: StringHuman-readable name.
description: Option<String>Human-readable description.
current_value: StringThe option’s current value.
options: Option<Vec<String>>The set of values the consumer can choose from. Absent for free-form input.
Trait Implementations§
Source§impl Clone for SessionConfigOption
impl Clone for SessionConfigOption
Source§impl Debug for SessionConfigOption
impl Debug for SessionConfigOption
Source§impl<'de> Deserialize<'de> for SessionConfigOption
impl<'de> Deserialize<'de> for SessionConfigOption
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
impl Eq for SessionConfigOption
Source§impl PartialEq for SessionConfigOption
impl PartialEq for SessionConfigOption
Source§impl Serialize for SessionConfigOption
impl Serialize for SessionConfigOption
impl StructuralPartialEq for SessionConfigOption
Auto Trait Implementations§
impl Freeze for SessionConfigOption
impl RefUnwindSafe for SessionConfigOption
impl Send for SessionConfigOption
impl Sync for SessionConfigOption
impl Unpin for SessionConfigOption
impl UnsafeUnpin for SessionConfigOption
impl UnwindSafe for SessionConfigOption
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