pub struct HttpRequestOptions {
pub certify: bool,
}Expand description
Options controlling the behavior of http_request.
Fields§
§certify: boolWhether to attempt serving a certified response from the asset router.
When true (the default), the library checks the asset router for a
previously certified response and returns it directly if available.
When false, the handler runs on every request and the response is
served with a skip-certification proof.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HttpRequestOptions
impl RefUnwindSafe for HttpRequestOptions
impl Send for HttpRequestOptions
impl Sync for HttpRequestOptions
impl Unpin for HttpRequestOptions
impl UnsafeUnpin for HttpRequestOptions
impl UnwindSafe for HttpRequestOptions
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