pub struct FetchOptions {
pub headers: Option<FetchHeaders>,
pub accept: Option<ContentType>,
pub content_type: Option<ContentType>,
pub params: Option<HashMap<String, String>>,
pub deserialize_body: bool,
}
Fields§
§headers: Option<FetchHeaders>
§accept: Option<ContentType>
§content_type: Option<ContentType>
§params: Option<HashMap<String, String>>
§deserialize_body: bool
Trait Implementations§
Source§impl Clone for FetchOptions
impl Clone for FetchOptions
Source§fn clone(&self) -> FetchOptions
fn clone(&self) -> FetchOptions
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FetchOptions
impl Debug for FetchOptions
Auto Trait Implementations§
impl Freeze for FetchOptions
impl RefUnwindSafe for FetchOptions
impl Send for FetchOptions
impl Sync for FetchOptions
impl Unpin for FetchOptions
impl UnwindSafe for FetchOptions
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