pub struct PreparedRequest {
pub url: Url,
pub path: String,
pub method: Method,
pub headers: HeaderMap,
}Expand description
Prepared request state passed to plugin Plugin::init.
Fields§
§url: UrlURL after path/query resolution (may be mutated by plugins).
path: StringOriginal path template from the builder.
method: MethodHTTP method.
headers: HeaderMapHeaders before transport.
Trait Implementations§
Source§impl Clone for PreparedRequest
impl Clone for PreparedRequest
Source§fn clone(&self) -> PreparedRequest
fn clone(&self) -> PreparedRequest
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 PreparedRequest
impl RefUnwindSafe for PreparedRequest
impl Send for PreparedRequest
impl Sync for PreparedRequest
impl Unpin for PreparedRequest
impl UnsafeUnpin for PreparedRequest
impl UnwindSafe for PreparedRequest
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