pub struct ThreadSettingsOverrides {Show 14 fields
pub environments: Option<TurnEnvironmentSelections>,
pub profile_workspace_roots: Option<Vec<AbsolutePathBuf>>,
pub approval_policy: Option<AskForApproval>,
pub approvals_reviewer: Option<ApprovalsReviewer>,
pub sandbox_policy: Option<SandboxPolicy>,
pub permission_profile: Option<PermissionProfile>,
pub active_permission_profile: Option<ActivePermissionProfile>,
pub windows_sandbox_level: Option<WindowsSandboxLevel>,
pub model: Option<String>,
pub effort: Option<Option<ReasoningEffort>>,
pub summary: Option<ReasoningSummary>,
pub service_tier: Option<Option<String>>,
pub collaboration_mode: Option<CollaborationMode>,
pub personality: Option<Personality>,
}Expand description
Persistent thread-settings overrides that can be applied before user input or on their own.
Fields§
§environments: Option<TurnEnvironmentSelections>Updated fallback cwd and environments supplied together as a complete pair.
profile_workspace_roots: Option<Vec<AbsolutePathBuf>>Updated profile-defined workspace roots for status summaries and per-turn config reconstruction.
approval_policy: Option<AskForApproval>Updated command approval policy.
approvals_reviewer: Option<ApprovalsReviewer>Updated approval reviewer for future approval prompts.
sandbox_policy: Option<SandboxPolicy>Updated sandbox policy for tool calls.
permission_profile: Option<PermissionProfile>Updated permissions profile for tool calls.
active_permission_profile: Option<ActivePermissionProfile>Named or built-in profile that produced permission_profile, if the
update selected a profile rather than supplying raw permissions.
windows_sandbox_level: Option<WindowsSandboxLevel>Updated Windows sandbox mode for tool execution.
model: Option<String>Updated model slug. When set, the model info is derived automatically.
effort: Option<Option<ReasoningEffort>>Updated reasoning effort (honored only for reasoning-capable models).
Use Some(Some(_)) to set a specific effort, Some(None) to clear the
effort, or None to leave the existing value unchanged.
summary: Option<ReasoningSummary>Updated reasoning summary preference (honored only for reasoning-capable models).
service_tier: Option<Option<String>>Updated service tier preference for future turns.
Use Some(Some(_)) to set a specific tier, Some(None) to clear the
preference, or None to leave the existing value unchanged.
collaboration_mode: Option<CollaborationMode>EXPERIMENTAL - set a pre-set collaboration mode. Takes precedence over model, effort, and developer instructions if set.
personality: Option<Personality>Updated personality preference.
Trait Implementations§
Source§impl Clone for ThreadSettingsOverrides
impl Clone for ThreadSettingsOverrides
Source§fn clone(&self) -> ThreadSettingsOverrides
fn clone(&self) -> ThreadSettingsOverrides
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 ThreadSettingsOverrides
impl Debug for ThreadSettingsOverrides
Source§impl Default for ThreadSettingsOverrides
impl Default for ThreadSettingsOverrides
Source§fn default() -> ThreadSettingsOverrides
fn default() -> ThreadSettingsOverrides
Source§impl PartialEq for ThreadSettingsOverrides
impl PartialEq for ThreadSettingsOverrides
impl StructuralPartialEq for ThreadSettingsOverrides
Auto Trait Implementations§
impl Freeze for ThreadSettingsOverrides
impl RefUnwindSafe for ThreadSettingsOverrides
impl Send for ThreadSettingsOverrides
impl Sync for ThreadSettingsOverrides
impl Unpin for ThreadSettingsOverrides
impl UnsafeUnpin for ThreadSettingsOverrides
impl UnwindSafe for ThreadSettingsOverrides
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more