pub struct OutRequest {
pub method: Method,
pub url: String,
pub headers: HeaderMap,
pub body: Option<Bytes>,
pub timeout: Option<Duration>,
}Expand description
Outbound request after builder normalization.
Fields§
§method: Method§url: String§headers: HeaderMap§body: Option<Bytes>§timeout: Option<Duration>Trait Implementations§
Source§impl Clone for OutRequest
impl Clone for OutRequest
Source§fn clone(&self) -> OutRequest
fn clone(&self) -> OutRequest
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 moreAuto Trait Implementations§
impl !Freeze for OutRequest
impl RefUnwindSafe for OutRequest
impl Send for OutRequest
impl Sync for OutRequest
impl Unpin for OutRequest
impl UnsafeUnpin for OutRequest
impl UnwindSafe for OutRequest
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