pub struct HookMeta<R, P>{
pub tenant: TenantContext,
pub method: ServiceMethodKind,
pub params: P,
pub services: ServiceCaller<R, P>,
pub config: DogConfigSnapshot,
}Expand description
Immutable view of the hook context (safe to pass while mutating ctx.data).
Fields§
§tenant: TenantContext§method: ServiceMethodKind§params: P§services: ServiceCaller<R, P>§config: DogConfigSnapshotImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<R, P> Freeze for HookMeta<R, P>where
P: Freeze,
impl<R, P> RefUnwindSafe for HookMeta<R, P>where
P: RefUnwindSafe,
impl<R, P> Send for HookMeta<R, P>
impl<R, P> Sync for HookMeta<R, P>where
P: Sync,
impl<R, P> Unpin for HookMeta<R, P>where
P: Unpin,
impl<R, P> UnwindSafe for HookMeta<R, P>where
P: UnwindSafe,
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