pub struct ModelSection {
pub provider: String,
pub model: String,
pub api_key_env: String,
pub max_output_tokens: u32,
pub temperature: f32,
pub request_timeout_secs: u64,
}Fields§
§provider: String§model: String§api_key_env: String§max_output_tokens: u32§temperature: f32§request_timeout_secs: u64Trait Implementations§
Source§impl Clone for ModelSection
impl Clone for ModelSection
Source§fn clone(&self) -> ModelSection
fn clone(&self) -> ModelSection
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 ModelSection
impl Debug for ModelSection
Source§impl Default for ModelSection
impl Default for ModelSection
Source§impl<'de> Deserialize<'de> for ModelSection
impl<'de> Deserialize<'de> for ModelSection
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
Auto Trait Implementations§
impl Freeze for ModelSection
impl RefUnwindSafe for ModelSection
impl Send for ModelSection
impl Sync for ModelSection
impl Unpin for ModelSection
impl UnsafeUnpin for ModelSection
impl UnwindSafe for ModelSection
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