pub struct Parts<T>{
pub metadata: HeaderMap,
pub body: T,
}Expand description
Parts of a request, used for decomposing and composing requests.
Fields§
§metadata: HeaderMap§body: TAuto Trait Implementations§
impl<T> Freeze for Parts<T>where
T: Freeze,
impl<T> RefUnwindSafe for Parts<T>where
T: RefUnwindSafe,
impl<T> Send for Parts<T>
impl<T> Sync for Parts<T>
impl<T> Unpin for Parts<T>where
T: Unpin,
impl<T> UnwindSafe for Parts<T>where
T: 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