pub struct ModelDefinition {
pub provider: String,
pub model: String,
pub chat_options: Option<ChatOptions>,
}Fields§
§provider: String§model: String§chat_options: Option<ChatOptions>Implementations§
Trait Implementations§
Source§impl Clone for ModelDefinition
impl Clone for ModelDefinition
Source§fn clone(&self) -> ModelDefinition
fn clone(&self) -> ModelDefinition
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 moreAuto Trait Implementations§
impl Freeze for ModelDefinition
impl RefUnwindSafe for ModelDefinition
impl Send for ModelDefinition
impl Sync for ModelDefinition
impl Unpin for ModelDefinition
impl UnwindSafe for ModelDefinition
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