#[non_exhaustive]pub enum SessionConfigOptionCategory {
Mode,
Model,
ModelConfig,
ThoughtLevel,
Other(String),
}Expand description
Semantic category for a session configuration option.
This is intended to help Clients distinguish broadly common selectors (e.g. model selector vs session mode selector vs thought/reasoning level) for UX purposes (keyboard shortcuts, icons, placement). It MUST NOT be required for correctness. Clients MUST handle missing or unknown categories gracefully.
Category names beginning with _ are free for custom use, like other ACP extension methods.
Category names that do not begin with _ are reserved for the ACP spec.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Mode
Session mode selector.
Model
Model selector.
ModelConfig
unstable_model_config_category only.UNSTABLE
This capability is not part of the spec yet, and may be removed or changed at any point.
Model-related configuration parameter.
ThoughtLevel
Thought/reasoning level selector.
Other(String)
Unknown / uncategorized selector.
Trait Implementations§
Source§impl Clone for SessionConfigOptionCategory
impl Clone for SessionConfigOptionCategory
Source§fn clone(&self) -> SessionConfigOptionCategory
fn clone(&self) -> SessionConfigOptionCategory
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SessionConfigOptionCategory
impl Debug for SessionConfigOptionCategory
Source§impl<'de> Deserialize<'de> for SessionConfigOptionCategory
impl<'de> Deserialize<'de> for SessionConfigOptionCategory
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SessionConfigOptionCategory, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SessionConfigOptionCategory, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Eq for SessionConfigOptionCategory
Source§impl IntoV2 for SessionConfigOptionCategory
impl IntoV2 for SessionConfigOptionCategory
Source§type Output = SessionConfigOptionCategory
type Output = SessionConfigOptionCategory
Source§fn into_v2(
self,
) -> Result<<SessionConfigOptionCategory as IntoV2>::Output, ProtocolConversionError>
fn into_v2( self, ) -> Result<<SessionConfigOptionCategory as IntoV2>::Output, ProtocolConversionError>
Source§impl JsonSchema for SessionConfigOptionCategory
impl JsonSchema for SessionConfigOptionCategory
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for SessionConfigOptionCategory
impl PartialEq for SessionConfigOptionCategory
Source§fn eq(&self, other: &SessionConfigOptionCategory) -> bool
fn eq(&self, other: &SessionConfigOptionCategory) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for SessionConfigOptionCategory
impl Serialize for SessionConfigOptionCategory
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for SessionConfigOptionCategory
Auto Trait Implementations§
impl Freeze for SessionConfigOptionCategory
impl RefUnwindSafe for SessionConfigOptionCategory
impl Send for SessionConfigOptionCategory
impl Sync for SessionConfigOptionCategory
impl Unpin for SessionConfigOptionCategory
impl UnsafeUnpin for SessionConfigOptionCategory
impl UnwindSafe for SessionConfigOptionCategory
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
key and return true if they are equal.