pub struct ModelRequestView {
pub prompt_blocks: Vec<PromptBlock>,
pub tool_defs: Vec<ToolDef>,
pub messages: Vec<ModelMessage>,
pub params: StreamParams,
}Expand description
A model request, assembled and not yet sent.
Fields§
§prompt_blocks: Vec<PromptBlock>§tool_defs: Vec<ToolDef>§messages: Vec<ModelMessage>§params: StreamParamsTrait Implementations§
Source§impl Clone for ModelRequestView
impl Clone for ModelRequestView
Auto Trait Implementations§
impl Forget for ModelRequestView
impl Freeze for ModelRequestView
impl Move for ModelRequestView
impl RefUnwindSafe for ModelRequestView
impl Send for ModelRequestView
impl Sync for ModelRequestView
impl Unpin for ModelRequestView
impl UnsafeUnpin for ModelRequestView
impl UnwindSafe for ModelRequestView
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