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