pub struct WithScope<Req> {
pub request: Req,
pub scope: Scope,
}Expand description
Request wrapper
Fields§
§request: ReqThe original Request wrapped in this scope
scope: ScopeThe Scope of the wrapped request
Trait Implementations§
Auto Trait Implementations§
impl<Req> Freeze for WithScope<Req>where
Req: Freeze,
impl<Req> RefUnwindSafe for WithScope<Req>where
Req: RefUnwindSafe,
impl<Req> Send for WithScope<Req>where
Req: Send,
impl<Req> Sync for WithScope<Req>where
Req: Sync,
impl<Req> Unpin for WithScope<Req>where
Req: Unpin,
impl<Req> UnsafeUnpin for WithScope<Req>where
Req: UnsafeUnpin,
impl<Req> UnwindSafe for WithScope<Req>where
Req: 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