pub struct ModelRequestParameters {
pub function_tools: Vec<ToolDefinition>,
pub output_schema: Option<Value>,
pub output_mode: OutputMode,
pub allow_text_output: bool,
}Fields§
§function_tools: Vec<ToolDefinition>§output_schema: Option<Value>§output_mode: OutputMode§allow_text_output: boolImplementations§
Source§impl ModelRequestParameters
impl ModelRequestParameters
pub fn new(function_tools: Vec<ToolDefinition>) -> Self
pub fn with_output_schema(self, schema: Value) -> Self
Trait Implementations§
Source§impl Clone for ModelRequestParameters
impl Clone for ModelRequestParameters
Source§fn clone(&self) -> ModelRequestParameters
fn clone(&self) -> ModelRequestParameters
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 ModelRequestParameters
impl Debug for ModelRequestParameters
Auto Trait Implementations§
impl Freeze for ModelRequestParameters
impl RefUnwindSafe for ModelRequestParameters
impl Send for ModelRequestParameters
impl Sync for ModelRequestParameters
impl Unpin for ModelRequestParameters
impl UnwindSafe for ModelRequestParameters
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