Struct gpt_rs::prelude::ChatConfig
source · pub struct ChatConfig {
pub model: Model,
pub temperature: f64,
}Fields§
§model: Model§temperature: f64Implementations§
Trait Implementations§
source§impl Clone for ChatConfig
impl Clone for ChatConfig
source§fn clone(&self) -> ChatConfig
fn clone(&self) -> ChatConfig
Returns a copy 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 ChatConfig
impl Debug for ChatConfig
source§impl Default for ChatConfig
impl Default for ChatConfig
source§impl PartialEq<ChatConfig> for ChatConfig
impl PartialEq<ChatConfig> for ChatConfig
source§fn eq(&self, other: &ChatConfig) -> bool
fn eq(&self, other: &ChatConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ChatConfig
Auto Trait Implementations§
impl RefUnwindSafe for ChatConfig
impl Send for ChatConfig
impl Sync for ChatConfig
impl Unpin for ChatConfig
impl UnwindSafe for ChatConfig
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