pub struct ThinkingOptions {
pub budget_tokens: u32,
}Expand description
Anthropic thinking/extended reasoning options
Fields§
§budget_tokens: u32Budget tokens for thinking (must be >= 1024)
Implementations§
Trait Implementations§
Source§impl Clone for ThinkingOptions
impl Clone for ThinkingOptions
Source§fn clone(&self) -> ThinkingOptions
fn clone(&self) -> ThinkingOptions
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 ThinkingOptions
impl Debug for ThinkingOptions
Source§impl<'de> Deserialize<'de> for ThinkingOptions
impl<'de> Deserialize<'de> for ThinkingOptions
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 ThinkingOptions
impl RefUnwindSafe for ThinkingOptions
impl Send for ThinkingOptions
impl Sync for ThinkingOptions
impl Unpin for ThinkingOptions
impl UnsafeUnpin for ThinkingOptions
impl UnwindSafe for ThinkingOptions
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