pub struct TurnHookContext {
pub session_id: String,
pub state: SessionReadView,
pub sessions: Arc<dyn SessionStateService>,
pub turn_context: TurnContext,
}Fields§
§session_id: String§state: SessionReadView§sessions: Arc<dyn SessionStateService>§turn_context: TurnContextTrait Implementations§
Source§impl Clone for TurnHookContext
impl Clone for TurnHookContext
Source§fn clone(&self) -> TurnHookContext
fn clone(&self) -> TurnHookContext
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 !RefUnwindSafe for TurnHookContext
impl !UnwindSafe for TurnHookContext
impl Freeze for TurnHookContext
impl Send for TurnHookContext
impl Sync for TurnHookContext
impl Unpin for TurnHookContext
impl UnsafeUnpin for TurnHookContext
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