pub struct HttpOptions {
pub method: String,
pub connect_timeout: u32,
pub read_timeout: u32,
pub body: Option<String>,
pub headers: Option<BTreeMap<String, String>>,
}Fields§
§method: String§connect_timeout: u32§read_timeout: u32§body: Option<String>§headers: Option<BTreeMap<String, String>>Implementations§
Auto Trait Implementations§
impl Freeze for HttpOptions
impl RefUnwindSafe for HttpOptions
impl Send for HttpOptions
impl Sync for HttpOptions
impl Unpin for HttpOptions
impl UnwindSafe for HttpOptions
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