pub struct Request<Rq, Id = ()> {
pub header: RequestHeader<Id>,
pub payload: Rq,
}Fields§
§header: RequestHeader<Id>§payload: RqTrait Implementations§
Auto Trait Implementations§
impl<Rq, Id> Freeze for Request<Rq, Id>
impl<Rq, Id> RefUnwindSafe for Request<Rq, Id>where
Rq: RefUnwindSafe,
Id: RefUnwindSafe,
impl<Rq, Id> Send for Request<Rq, Id>
impl<Rq, Id> Sync for Request<Rq, Id>
impl<Rq, Id> Unpin for Request<Rq, Id>
impl<Rq, Id> UnwindSafe for Request<Rq, Id>where
Rq: UnwindSafe,
Id: 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