pub struct SessionPluginCtx {
pub session_type_id: Uuid,
pub session_id: Option<Uuid>,
pub call_ctx: PluginCallContext,
}Fields§
§session_type_id: Uuid§session_id: Option<Uuid>None during ChatEngineBackendPlugin::on_session_type_configured
(no session exists yet); Some for all other lifecycle hooks
(on_session_created, on_session_updated, on_session_summary).
call_ctx: PluginCallContextTrait Implementations§
Source§impl Clone for SessionPluginCtx
impl Clone for SessionPluginCtx
Source§fn clone(&self) -> SessionPluginCtx
fn clone(&self) -> SessionPluginCtx
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 SessionPluginCtx
impl RefUnwindSafe for SessionPluginCtx
impl Send for SessionPluginCtx
impl Sync for SessionPluginCtx
impl Unpin for SessionPluginCtx
impl UnsafeUnpin for SessionPluginCtx
impl UnwindSafe for SessionPluginCtx
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