pub struct ProviderContext {
pub input: String,
pub provider: String,
pub model: String,
pub reasoning_effort: String,
pub base_instructions: Option<String>,
pub developer_instructions: Option<String>,
pub tools: Vec<ProviderToolDefinition>,
}Expand description
Exact caller-controlled material submitted to one model inference.
Fields§
§input: String§provider: String§model: String§reasoning_effort: String§base_instructions: Option<String>§developer_instructions: Option<String>§tools: Vec<ProviderToolDefinition>Trait Implementations§
Source§impl Clone for ProviderContext
impl Clone for ProviderContext
Source§fn clone(&self) -> ProviderContext
fn clone(&self) -> ProviderContext
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 ProviderContext
impl Debug for ProviderContext
Source§impl<'de> Deserialize<'de> for ProviderContext
impl<'de> Deserialize<'de> for ProviderContext
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 ProviderContext
Source§impl PartialEq for ProviderContext
impl PartialEq for ProviderContext
Source§impl Serialize for ProviderContext
impl Serialize for ProviderContext
impl StructuralPartialEq for ProviderContext
Auto Trait Implementations§
impl Freeze for ProviderContext
impl RefUnwindSafe for ProviderContext
impl Send for ProviderContext
impl Sync for ProviderContext
impl Unpin for ProviderContext
impl UnsafeUnpin for ProviderContext
impl UnwindSafe for ProviderContext
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