pub struct ReasoningOptions {
pub effort: Option<String>,
pub summary: Option<String>,
}Expand description
ReasoningOptions
JSON schema
{
"type": "object",
"properties": {
"effort": {
"type": "string"
},
"summary": {
"type": "string"
}
},
"additionalProperties": true
}Fields§
§effort: Option<String>§summary: Option<String>Implementations§
Source§impl ReasoningOptions
impl ReasoningOptions
pub fn builder() -> ReasoningOptions
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 (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 ReasoningOptions
impl Debug for ReasoningOptions
Source§impl Default for ReasoningOptions
impl Default for ReasoningOptions
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 From<ReasoningOptions> for ReasoningOptions
impl From<ReasoningOptions> for ReasoningOptions
Source§fn from(value: ReasoningOptions) -> Self
fn from(value: ReasoningOptions) -> Self
Converts to this type from the input type.
Source§impl Serialize for ReasoningOptions
impl Serialize for ReasoningOptions
Source§impl TryFrom<ReasoningOptions> for ReasoningOptions
impl TryFrom<ReasoningOptions> for ReasoningOptions
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ReasoningOptions) -> Result<Self, ConversionError>
fn try_from(value: ReasoningOptions) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ReasoningOptions
impl RefUnwindSafe for ReasoningOptions
impl Send for ReasoningOptions
impl Sync for ReasoningOptions
impl Unpin for ReasoningOptions
impl UnsafeUnpin 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