pub struct PromptContextHookContext {
pub session_id: String,
pub message_id: String,
pub provider_id: String,
pub model_id: String,
pub iteration: usize,
}Fields§
§session_id: String§message_id: String§provider_id: String§model_id: String§iteration: usizeTrait Implementations§
Source§impl Clone for PromptContextHookContext
impl Clone for PromptContextHookContext
Source§fn clone(&self) -> PromptContextHookContext
fn clone(&self) -> PromptContextHookContext
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 PromptContextHookContext
impl RefUnwindSafe for PromptContextHookContext
impl Send for PromptContextHookContext
impl Sync for PromptContextHookContext
impl Unpin for PromptContextHookContext
impl UnsafeUnpin for PromptContextHookContext
impl UnwindSafe for PromptContextHookContext
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