pub struct ReasoningProfile {
pub name: String,
pub supported_efforts: Vec<ReasoningEffort>,
pub supports_reasoning_history: bool,
}Expand description
A caller-selected model contract; never inferred from a model-name substring. Provider defaults remain unknown when no effort is requested.
Fields§
§name: StringStable label for provenance and diagnostics.
supported_efforts: Vec<ReasoningEffort>Exact accepted controls; high and xhigh are not aliases.
supports_reasoning_history: boolWhether the model consumes native assistant reasoning in history.
Implementations§
Source§impl ReasoningProfile
impl ReasoningProfile
Trait Implementations§
Source§impl Clone for ReasoningProfile
impl Clone for ReasoningProfile
Source§fn clone(&self) -> ReasoningProfile
fn clone(&self) -> ReasoningProfile
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 ReasoningProfile
impl Debug for ReasoningProfile
Source§impl<'de> Deserialize<'de> for ReasoningProfile
impl<'de> Deserialize<'de> for ReasoningProfile
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 ReasoningProfile
Source§impl PartialEq for ReasoningProfile
impl PartialEq for ReasoningProfile
Source§impl Serialize for ReasoningProfile
impl Serialize for ReasoningProfile
impl StructuralPartialEq for ReasoningProfile
Auto Trait Implementations§
impl Freeze for ReasoningProfile
impl RefUnwindSafe for ReasoningProfile
impl Send for ReasoningProfile
impl Sync for ReasoningProfile
impl Unpin for ReasoningProfile
impl UnsafeUnpin for ReasoningProfile
impl UnwindSafe for ReasoningProfile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.