pub struct RequestParts<B> {
pub method: Method,
pub uri: String,
pub headers: HeaderMap,
pub body: B,
}Fields§
§method: Method§uri: String§headers: HeaderMap§body: BTrait Implementations§
Source§impl<B: Clone> Clone for RequestParts<B>
impl<B: Clone> Clone for RequestParts<B>
Source§fn clone(&self) -> RequestParts<B>
fn clone(&self) -> RequestParts<B>
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 moreSource§impl<B: Debug> Debug for RequestParts<B>
impl<B: Debug> Debug for RequestParts<B>
impl<B: Eq> Eq for RequestParts<B>
Source§impl<B: PartialEq> PartialEq for RequestParts<B>
impl<B: PartialEq> PartialEq for RequestParts<B>
Source§fn eq(&self, other: &RequestParts<B>) -> bool
fn eq(&self, other: &RequestParts<B>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<B> StructuralPartialEq for RequestParts<B>
Auto Trait Implementations§
impl<B> Freeze for RequestParts<B>where
B: Freeze,
impl<B> RefUnwindSafe for RequestParts<B>where
B: RefUnwindSafe,
impl<B> Send for RequestParts<B>where
B: Send,
impl<B> Sync for RequestParts<B>where
B: Sync,
impl<B> Unpin for RequestParts<B>where
B: Unpin,
impl<B> UnsafeUnpin for RequestParts<B>where
B: UnsafeUnpin,
impl<B> UnwindSafe for RequestParts<B>where
B: 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