pub struct CommonContext {
pub kv: NamespacedKv,
pub auth: Arc<GatewayAuthService>,
}Fields§
§kv: NamespacedKv§auth: Arc<GatewayAuthService>Implementations§
Source§impl CommonContext
impl CommonContext
Trait Implementations§
Source§impl Clone for CommonContext
impl Clone for CommonContext
Source§fn clone(&self) -> CommonContext
fn clone(&self) -> CommonContext
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 CommonContext
impl !UnwindSafe for CommonContext
impl Freeze for CommonContext
impl Send for CommonContext
impl Sync for CommonContext
impl Unpin for CommonContext
impl UnsafeUnpin for CommonContext
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