pub struct ClaudeOptions {
pub allowed_tools: Option<String>,
pub disallowed_tools: Option<String>,
pub tools: Option<String>,
pub append_system_prompt: Option<String>,
pub max_turns: Option<u32>,
pub max_budget_usd: Option<f64>,
pub max_thinking_tokens: Option<u32>,
pub continue_session: Option<bool>,
pub include_partial_messages: Option<bool>,
pub effort: Option<String>,
pub agents: Option<Value>,
}Fields§
§allowed_tools: Option<String>§disallowed_tools: Option<String>§tools: Option<String>§append_system_prompt: Option<String>§max_turns: Option<u32>§max_budget_usd: Option<f64>§max_thinking_tokens: Option<u32>§continue_session: Option<bool>§include_partial_messages: Option<bool>§effort: Option<String>§agents: Option<Value>Trait Implementations§
Source§impl Clone for ClaudeOptions
impl Clone for ClaudeOptions
Source§fn clone(&self) -> ClaudeOptions
fn clone(&self) -> ClaudeOptions
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 ClaudeOptions
impl Debug for ClaudeOptions
Source§impl Default for ClaudeOptions
impl Default for ClaudeOptions
Source§fn default() -> ClaudeOptions
fn default() -> ClaudeOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClaudeOptions
impl<'de> Deserialize<'de> for ClaudeOptions
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
Auto Trait Implementations§
impl Freeze for ClaudeOptions
impl RefUnwindSafe for ClaudeOptions
impl Send for ClaudeOptions
impl Sync for ClaudeOptions
impl Unpin for ClaudeOptions
impl UnsafeUnpin for ClaudeOptions
impl UnwindSafe for ClaudeOptions
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