pub enum ReasoningBehavior {
Effort {
value: ReasoningEffort,
},
Toggle {
enabled: bool,
},
BudgetTokens {
value: i64,
},
}Variants§
Trait Implementations§
Source§impl Clone for ReasoningBehavior
impl Clone for ReasoningBehavior
Source§fn clone(&self) -> ReasoningBehavior
fn clone(&self) -> ReasoningBehavior
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReasoningBehavior
impl Debug for ReasoningBehavior
Source§impl<'de> Deserialize<'de> for ReasoningBehavior
impl<'de> Deserialize<'de> for ReasoningBehavior
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
impl Eq for ReasoningBehavior
Source§impl PartialEq for ReasoningBehavior
impl PartialEq for ReasoningBehavior
Source§fn eq(&self, other: &ReasoningBehavior) -> bool
fn eq(&self, other: &ReasoningBehavior) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ReasoningBehavior
impl Serialize for ReasoningBehavior
impl StructuralPartialEq for ReasoningBehavior
Auto Trait Implementations§
impl Freeze for ReasoningBehavior
impl RefUnwindSafe for ReasoningBehavior
impl Send for ReasoningBehavior
impl Sync for ReasoningBehavior
impl Unpin for ReasoningBehavior
impl UnsafeUnpin for ReasoningBehavior
impl UnwindSafe for ReasoningBehavior
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