pub struct FWOptions {
pub skip_retry: bool,
pub no_auth: bool,
}
Expand description
Custom extension options for the request
The FWClient
uses a custom middleware
to handle retry logic.
the FWOptions
struct allows you to control the behavior of the middleware.
Fields§
§skip_retry: bool
If true, the middleware will skip retry logic.
no_auth: bool
If true, the middleware will remove the Authorization
header from the request.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FWOptions
impl RefUnwindSafe for FWOptions
impl Send for FWOptions
impl Sync for FWOptions
impl Unpin for FWOptions
impl UnwindSafe for FWOptions
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