pub struct PromptHookContext {
pub session_id: String,
pub host: Arc<dyn PromptHookHost>,
pub state: SessionReadView,
pub mode_turn_options: ModeTurnOptions,
pub turn_context: TurnContext,
}Fields§
§session_id: String§host: Arc<dyn PromptHookHost>§state: SessionReadView§mode_turn_options: ModeTurnOptions§turn_context: TurnContextTrait Implementations§
Source§impl Clone for PromptHookContext
impl Clone for PromptHookContext
Source§fn clone(&self) -> PromptHookContext
fn clone(&self) -> PromptHookContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PromptHookContext
impl !RefUnwindSafe for PromptHookContext
impl Send for PromptHookContext
impl Sync for PromptHookContext
impl Unpin for PromptHookContext
impl UnsafeUnpin for PromptHookContext
impl !UnwindSafe for PromptHookContext
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