pub struct ReasoningPreference {
pub mode: ReasoningMode,
pub value: Option<String>,
pub budget: Option<i32>,
}Expand description
Builder preference for reasoning payload generation.
Fields§
§mode: ReasoningModeReasoning mode to use.
value: Option<String>Reasoning value to apply.
budget: Option<i32>Thinking budget value.
Trait Implementations§
Source§impl Clone for ReasoningPreference
impl Clone for ReasoningPreference
Source§fn clone(&self) -> ReasoningPreference
fn clone(&self) -> ReasoningPreference
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 ReasoningPreference
impl Debug for ReasoningPreference
Source§impl<'de> Deserialize<'de> for ReasoningPreference
impl<'de> Deserialize<'de> for ReasoningPreference
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 ReasoningPreference
impl PartialEq for ReasoningPreference
Source§impl Serialize for ReasoningPreference
impl Serialize for ReasoningPreference
impl StructuralPartialEq for ReasoningPreference
Auto Trait Implementations§
impl Freeze for ReasoningPreference
impl RefUnwindSafe for ReasoningPreference
impl Send for ReasoningPreference
impl Sync for ReasoningPreference
impl Unpin for ReasoningPreference
impl UnsafeUnpin for ReasoningPreference
impl UnwindSafe for ReasoningPreference
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