pub struct RequestOptions {
pub timeout: Duration,
}
Expand description
Options for customizing requests.
This struct allows configuring various aspects of request handling, such as timeouts.
Fields§
§timeout: Duration
The timeout duration for the request
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RequestOptions
impl RefUnwindSafe for RequestOptions
impl Send for RequestOptions
impl Sync for RequestOptions
impl Unpin for RequestOptions
impl UnwindSafe for RequestOptions
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