pub struct RequestPayload {
pub query: Url,
pub body: Option<String>,
pub query_result: Option<String>,
}Expand description
Represents the payload of a request.
This struct contains the URL, body, and query result of a request.
Fields§
§query: UrlThe URL of the request.
body: Option<String>The body of the request, if any.
query_result: Option<String>The result of the query, if any. This is likely populated after processing the request.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RequestPayload
impl RefUnwindSafe for RequestPayload
impl Send for RequestPayload
impl Sync for RequestPayload
impl Unpin for RequestPayload
impl UnwindSafe for RequestPayload
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