pub struct ProviderRequestConfig {
pub model: Option<String>,
pub temperature: Option<f32>,
pub max_tokens: Option<u32>,
}Fields§
§model: Option<String>§temperature: Option<f32>§max_tokens: Option<u32>Trait Implementations§
Source§impl Clone for ProviderRequestConfig
impl Clone for ProviderRequestConfig
Source§fn clone(&self) -> ProviderRequestConfig
fn clone(&self) -> ProviderRequestConfig
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 ProviderRequestConfig
impl Debug for ProviderRequestConfig
Source§impl Default for ProviderRequestConfig
impl Default for ProviderRequestConfig
Source§fn default() -> ProviderRequestConfig
fn default() -> ProviderRequestConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProviderRequestConfig
impl<'de> Deserialize<'de> for ProviderRequestConfig
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 PartialEq for ProviderRequestConfig
impl PartialEq for ProviderRequestConfig
Source§fn eq(&self, other: &ProviderRequestConfig) -> bool
fn eq(&self, other: &ProviderRequestConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProviderRequestConfig
impl Serialize for ProviderRequestConfig
impl StructuralPartialEq for ProviderRequestConfig
Auto Trait Implementations§
impl Freeze for ProviderRequestConfig
impl RefUnwindSafe for ProviderRequestConfig
impl Send for ProviderRequestConfig
impl Sync for ProviderRequestConfig
impl Unpin for ProviderRequestConfig
impl UnsafeUnpin for ProviderRequestConfig
impl UnwindSafe for ProviderRequestConfig
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