pub struct HttpData {
pub url: UncheckedUrl,
pub method: HttpMethod,
pub payload: Option<Hash>,
}
Expand description
HTTP Data
Fields§
§url: UncheckedUrl
absolute request URL
method: HttpMethod
HTTP method
payload: Option<Hash>
SHA256 hash of the request body
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for HttpData
impl Send for HttpData
impl Sync for HttpData
impl Unpin for HttpData
impl UnwindSafe for HttpData
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