pub struct ThreadOptions {Show 22 fields
pub model: Option<String>,
pub model_provider: Option<String>,
pub sandbox_mode: Option<SandboxMode>,
pub sandbox_policy: Option<Value>,
pub working_directory: Option<String>,
pub skip_git_repo_check: Option<bool>,
pub model_reasoning_effort: Option<ModelReasoningEffort>,
pub model_reasoning_summary: Option<ModelReasoningSummary>,
pub network_access_enabled: Option<bool>,
pub web_search_mode: Option<WebSearchMode>,
pub web_search_enabled: Option<bool>,
pub approval_policy: Option<ApprovalMode>,
pub additional_directories: Option<Vec<String>>,
pub personality: Option<Personality>,
pub base_instructions: Option<String>,
pub developer_instructions: Option<String>,
pub ephemeral: Option<bool>,
pub collaboration_mode: Option<CollaborationMode>,
pub config: Option<Map<String, Value>>,
pub dynamic_tools: Option<Vec<DynamicToolSpec>>,
pub experimental_raw_events: Option<bool>,
pub persist_extended_history: Option<bool>,
}Fields§
§model: Option<String>§model_provider: Option<String>§sandbox_mode: Option<SandboxMode>§sandbox_policy: Option<Value>§working_directory: Option<String>§skip_git_repo_check: Option<bool>§model_reasoning_effort: Option<ModelReasoningEffort>§model_reasoning_summary: Option<ModelReasoningSummary>§network_access_enabled: Option<bool>§web_search_mode: Option<WebSearchMode>§web_search_enabled: Option<bool>§approval_policy: Option<ApprovalMode>§additional_directories: Option<Vec<String>>§personality: Option<Personality>§base_instructions: Option<String>§developer_instructions: Option<String>§ephemeral: Option<bool>§collaboration_mode: Option<CollaborationMode>§config: Option<Map<String, Value>>§dynamic_tools: Option<Vec<DynamicToolSpec>>§experimental_raw_events: Option<bool>§persist_extended_history: Option<bool>Implementations§
Source§impl ThreadOptions
impl ThreadOptions
pub fn builder() -> ThreadOptionsBuilder
Trait Implementations§
Source§impl Clone for ThreadOptions
impl Clone for ThreadOptions
Source§fn clone(&self) -> ThreadOptions
fn clone(&self) -> ThreadOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ThreadOptions
impl Debug for ThreadOptions
Source§impl Default for ThreadOptions
impl Default for ThreadOptions
Source§fn default() -> ThreadOptions
fn default() -> ThreadOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ThreadOptions
impl RefUnwindSafe for ThreadOptions
impl Send for ThreadOptions
impl Sync for ThreadOptions
impl Unpin for ThreadOptions
impl UnsafeUnpin for ThreadOptions
impl UnwindSafe for ThreadOptions
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