pub struct ReasoningEffort(/* private fields */);Expand description
How hard the design asks the host to think, in the host’s own vocabulary.
A value object rather than a string, so a model name cannot be passed where an effort belongs.
Implementations§
Trait Implementations§
Source§impl Clone for ReasoningEffort
impl Clone for ReasoningEffort
Source§impl Debug for ReasoningEffort
impl Debug for ReasoningEffort
Source§impl<'de> Deserialize<'de> for ReasoningEffort
Decoding goes through the constructor.
impl<'de> Deserialize<'de> for ReasoningEffort
Decoding goes through the constructor.
A derived implementation would accept a stored or transmitted value this type refuses to be built from, and the invariant would hold everywhere except where the document came from outside — which is the only place it was ever at risk.
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ReasoningEffort
impl Display for ReasoningEffort
impl Eq for ReasoningEffort
Source§impl Hash for ReasoningEffort
impl Hash for ReasoningEffort
Source§impl Ord for ReasoningEffort
impl Ord for ReasoningEffort
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ReasoningEffort
impl PartialEq for ReasoningEffort
Source§impl PartialOrd for ReasoningEffort
impl PartialOrd for ReasoningEffort
Source§impl Serialize for ReasoningEffort
impl Serialize for ReasoningEffort
impl StructuralPartialEq for ReasoningEffort
Source§impl TryFrom<&str> for ReasoningEffort
impl TryFrom<&str> for ReasoningEffort
Auto Trait Implementations§
impl Freeze for ReasoningEffort
impl RefUnwindSafe for ReasoningEffort
impl Send for ReasoningEffort
impl Sync for ReasoningEffort
impl Unpin for ReasoningEffort
impl UnsafeUnpin for ReasoningEffort
impl UnwindSafe for ReasoningEffort
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