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 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 ChatConfig
impl Debug for ChatConfig
Source§impl Default for ChatConfig
impl Default for ChatConfig
Source§impl PartialEq for ChatConfig
impl PartialEq for ChatConfig
impl StructuralPartialEq for ChatConfig
Auto Trait Implementations§
impl Freeze for ChatConfig
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