pub struct WebFetchParams {
pub url: String,
pub method: Option<WebFetchMethod>,
pub body: Option<String>,
pub headers: Option<HashMap<String, String>>,
pub extract: Option<WebFetchExtract>,
pub timeout_ms: Option<u64>,
pub max_redirects: Option<u32>,
}Fields§
§url: String§method: Option<WebFetchMethod>§body: Option<String>§headers: Option<HashMap<String, String>>§extract: Option<WebFetchExtract>§timeout_ms: Option<u64>§max_redirects: Option<u32>Trait Implementations§
Source§impl Clone for WebFetchParams
impl Clone for WebFetchParams
Source§fn clone(&self) -> WebFetchParams
fn clone(&self) -> WebFetchParams
Returns a duplicate 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 WebFetchParams
impl Debug for WebFetchParams
Source§impl<'de> Deserialize<'de> for WebFetchParams
impl<'de> Deserialize<'de> for WebFetchParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for WebFetchParams
impl RefUnwindSafe for WebFetchParams
impl Send for WebFetchParams
impl Sync for WebFetchParams
impl Unpin for WebFetchParams
impl UnsafeUnpin for WebFetchParams
impl UnwindSafe for WebFetchParams
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