pub enum HttpFetchMethod {
Options,
Get,
Post,
Put,
Delete,
Head,
Trace,
Connect,
Patch,
}Expand description
Represents the HTTP methods that can be used in an HTTP fetch request. This enum is serialized and sent to the VM for execution. It represents the various HTTP methods that can be used in an HTTP fetch request.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for HttpFetchMethod
impl Clone for HttpFetchMethod
Source§fn clone(&self) -> HttpFetchMethod
fn clone(&self) -> HttpFetchMethod
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 HttpFetchMethod
impl Debug for HttpFetchMethod
Source§impl<'de> Deserialize<'de> for HttpFetchMethod
impl<'de> Deserialize<'de> for HttpFetchMethod
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 HttpFetchMethod
impl RefUnwindSafe for HttpFetchMethod
impl Send for HttpFetchMethod
impl Sync for HttpFetchMethod
impl Unpin for HttpFetchMethod
impl UnwindSafe for HttpFetchMethod
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