pub struct ReasoningOptions {
    pub enabled: bool,
    pub budget_tokens: Option<u32>,
}Expand description
Options for reasoning generation.
Fields§
§enabled: boolWhether to enable reasoning output.
budget_tokens: Option<u32>Specify the budget tokens for reasoning generation.
Trait Implementations§
Source§impl Clone for ReasoningOptions
 
impl Clone for ReasoningOptions
Source§fn clone(&self) -> ReasoningOptions
 
fn clone(&self) -> ReasoningOptions
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 ReasoningOptions
 
impl Debug for ReasoningOptions
Source§impl Default for ReasoningOptions
 
impl Default for ReasoningOptions
Source§fn default() -> ReasoningOptions
 
fn default() -> ReasoningOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReasoningOptions
 
impl<'de> Deserialize<'de> for ReasoningOptions
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
Source§impl PartialEq for ReasoningOptions
 
impl PartialEq for ReasoningOptions
Source§impl Serialize for ReasoningOptions
 
impl Serialize for ReasoningOptions
impl StructuralPartialEq for ReasoningOptions
Auto Trait Implementations§
impl Freeze for ReasoningOptions
impl RefUnwindSafe for ReasoningOptions
impl Send for ReasoningOptions
impl Sync for ReasoningOptions
impl Unpin for ReasoningOptions
impl UnwindSafe for ReasoningOptions
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