pub struct MultipartBody {
pub text_fields: Vec<(String, String)>,
pub binary_fields: Vec<BinaryField>,
}Expand description
A multipart form body with text and binary parts.
Fields§
§text_fields: Vec<(String, String)>Text form fields: (field_name, value).
binary_fields: Vec<BinaryField>Binary form fields (e.g., file uploads).
Trait Implementations§
Source§impl Clone for MultipartBody
impl Clone for MultipartBody
Source§fn clone(&self) -> MultipartBody
fn clone(&self) -> MultipartBody
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 MultipartBody
impl Debug for MultipartBody
Source§impl<'de> Deserialize<'de> for MultipartBody
impl<'de> Deserialize<'de> for MultipartBody
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 MultipartBody
impl RefUnwindSafe for MultipartBody
impl Send for MultipartBody
impl Sync for MultipartBody
impl Unpin for MultipartBody
impl UnsafeUnpin for MultipartBody
impl UnwindSafe for MultipartBody
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