pub enum InvokeBody {
File(Vec<u8>),
Blob(Vec<u8>),
ArrayBuffer(Vec<u8>),
FormData(HashMap<String, String>),
Json(HashMap<String, Value>),
String(String),
}
Variants§
File(Vec<u8>)
Blob(Vec<u8>)
ArrayBuffer(Vec<u8>)
FormData(HashMap<String, String>)
Json(HashMap<String, Value>)
String(String)
Trait Implementations§
Source§impl Clone for InvokeBody
impl Clone for InvokeBody
Source§fn clone(&self) -> InvokeBody
fn clone(&self) -> InvokeBody
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 moreAuto Trait Implementations§
impl Freeze for InvokeBody
impl RefUnwindSafe for InvokeBody
impl Send for InvokeBody
impl Sync for InvokeBody
impl Unpin for InvokeBody
impl UnwindSafe for InvokeBody
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