pub struct HttpFetchAction {
pub url: String,
pub options: HttpFetchOptions,
}Expand description
An HTTP fetch action containing the target URL and fetch options. This action is serialized and sent to the VM for execution.
Fields§
§url: StringThe URL to fetch.
options: HttpFetchOptionsThe options for the HTTP fetch request.
Trait Implementations§
Source§impl Clone for HttpFetchAction
impl Clone for HttpFetchAction
Source§fn clone(&self) -> HttpFetchAction
fn clone(&self) -> HttpFetchAction
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 HttpFetchAction
impl Debug for HttpFetchAction
Source§impl<'de> Deserialize<'de> for HttpFetchAction
impl<'de> Deserialize<'de> for HttpFetchAction
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 HttpFetchAction
impl RefUnwindSafe for HttpFetchAction
impl Send for HttpFetchAction
impl Sync for HttpFetchAction
impl Unpin for HttpFetchAction
impl UnwindSafe for HttpFetchAction
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