pub struct SessionOptionsSnapshot {
pub permission_mode: PermissionMode,
pub mode: String,
pub available_modes: Vec<AgentModeInfo>,
pub reasoning_effort: String,
pub supported_efforts: Vec<String>,
pub speed: Option<String>,
pub fast_mode_supported: bool,
pub fast_mode_enabled: bool,
pub fast_mode_label: Option<String>,
}Expand description
Runtime options exposed without credentials or complete configuration documents.
Fields§
§permission_mode: PermissionModeEffective command confirmation policy.
mode: StringSelected primary agent, such as build or plan.
available_modes: Vec<AgentModeInfo>Primary agents discovered by the CLI for this workspace.
reasoning_effort: StringCLI reasoning effort identifier.
supported_efforts: Vec<String>Efforts supported by this exact provider/model route.
speed: Option<String>Effective provider speed badge, when supported by this route.
fast_mode_supported: boolWhether this exact provider/model route supports the CLI’s fast setting.
fast_mode_enabled: boolWhether fast processing is currently enabled for this route.
fast_mode_label: Option<String>Label used by the CLI for the selected fast tier on this route.
Trait Implementations§
Source§impl Clone for SessionOptionsSnapshot
impl Clone for SessionOptionsSnapshot
Source§impl Debug for SessionOptionsSnapshot
impl Debug for SessionOptionsSnapshot
Source§impl<'de> Deserialize<'de> for SessionOptionsSnapshot
impl<'de> Deserialize<'de> for SessionOptionsSnapshot
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 SessionOptionsSnapshot
Source§impl PartialEq for SessionOptionsSnapshot
impl PartialEq for SessionOptionsSnapshot
Source§impl Serialize for SessionOptionsSnapshot
impl Serialize for SessionOptionsSnapshot
impl StructuralPartialEq for SessionOptionsSnapshot
Auto Trait Implementations§
impl Forget for SessionOptionsSnapshot
impl Freeze for SessionOptionsSnapshot
impl RefUnwindSafe for SessionOptionsSnapshot
impl Send for SessionOptionsSnapshot
impl Sync for SessionOptionsSnapshot
impl Unpin for SessionOptionsSnapshot
impl UnsafeUnpin for SessionOptionsSnapshot
impl UnwindSafe for SessionOptionsSnapshot
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,
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.