Struct tauri_runtime::http::RequestParts
source · pub struct RequestParts {
pub method: Method,
pub uri: String,
pub headers: HeaderMap<HeaderValue>,
}
Expand description
Component parts of an HTTP Request
The HTTP request head consists of a method, uri, and a set of header fields.
Fields§
§method: Method
The request’s method
uri: String
The request’s URI
headers: HeaderMap<HeaderValue>
The request’s headers
Trait Implementations§
source§impl Clone for RequestParts
impl Clone for RequestParts
source§fn clone(&self) -> RequestParts
fn clone(&self) -> RequestParts
Returns a copy of the value. Read more
1.0.0 · 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 RequestParts
impl RefUnwindSafe for RequestParts
impl Send for RequestParts
impl Sync for RequestParts
impl Unpin for RequestParts
impl UnwindSafe for RequestParts
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)