pub struct ModeBeforeLlmCallContext {
pub session_id: String,
pub host: Arc<dyn RuntimeSessionHost>,
pub state: SessionReadView,
pub latest_prompt_usage: Option<PromptUsage>,
}Fields§
§session_id: String§host: Arc<dyn RuntimeSessionHost>§state: SessionReadView§latest_prompt_usage: Option<PromptUsage>Auto Trait Implementations§
impl Freeze for ModeBeforeLlmCallContext
impl !RefUnwindSafe for ModeBeforeLlmCallContext
impl Send for ModeBeforeLlmCallContext
impl Sync for ModeBeforeLlmCallContext
impl Unpin for ModeBeforeLlmCallContext
impl UnsafeUnpin for ModeBeforeLlmCallContext
impl !UnwindSafe for ModeBeforeLlmCallContext
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