pub struct SessionOptionsSelectParams {
pub permission_mode: Option<PermissionMode>,
pub mode: Option<String>,
pub reasoning_effort: Option<String>,
pub fast_mode: Option<bool>,
pub full_access_confirmed: Option<bool>,
}Expand description
An explicit idle-session option change. Omitted values preserve existing choices.
Fields§
§permission_mode: Option<PermissionMode>Change command confirmations, retaining sandbox and tool authorization.
mode: Option<String>Select a built-in build or plan agent.
reasoning_effort: Option<String>Select a capability-validated reasoning effort.
fast_mode: Option<bool>Select the CLI’s fast processing tier for a compatible route.
full_access_confirmed: Option<bool>One-shot attestation that the user completed the Full access
confirmation dialog (risk disclosure + explicit acknowledge) for this
request. Required when permission_mode is FullAccess; never
persisted, never merged into stored session options.
Trait Implementations§
Source§impl Clone for SessionOptionsSelectParams
impl Clone for SessionOptionsSelectParams
Source§impl Debug for SessionOptionsSelectParams
impl Debug for SessionOptionsSelectParams
Source§impl Default for SessionOptionsSelectParams
impl Default for SessionOptionsSelectParams
Source§impl<'de> Deserialize<'de> for SessionOptionsSelectParams
impl<'de> Deserialize<'de> for SessionOptionsSelectParams
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 SessionOptionsSelectParams
impl StructuralPartialEq for SessionOptionsSelectParams
Auto Trait Implementations§
impl Freeze for SessionOptionsSelectParams
impl RefUnwindSafe for SessionOptionsSelectParams
impl Send for SessionOptionsSelectParams
impl Sync for SessionOptionsSelectParams
impl Unpin for SessionOptionsSelectParams
impl UnsafeUnpin for SessionOptionsSelectParams
impl UnwindSafe for SessionOptionsSelectParams
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.