pub struct ModelRequest {
pub system: Option<String>,
pub messages: Option<Vec<Message>>,
pub settings: Option<Settings>,
pub tools: Option<Vec<Tool>>,
}Fields§
§system: Option<String>§messages: Option<Vec<Message>>§settings: Option<Settings>§tools: Option<Vec<Tool>>Auto Trait Implementations§
impl Freeze for ModelRequest
impl RefUnwindSafe for ModelRequest
impl Send for ModelRequest
impl Sync for ModelRequest
impl Unpin for ModelRequest
impl UnsafeUnpin for ModelRequest
impl UnwindSafe for ModelRequest
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