pub enum MultipartValue {
Text(String),
File {
filename: String,
content_type: String,
bytes: Vec<u8>,
},
}Variants§
Trait Implementations§
Source§impl Clone for MultipartValue
impl Clone for MultipartValue
Source§fn clone(&self) -> MultipartValue
fn clone(&self) -> MultipartValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MultipartValue
impl RefUnwindSafe for MultipartValue
impl Send for MultipartValue
impl Sync for MultipartValue
impl Unpin for MultipartValue
impl UnsafeUnpin for MultipartValue
impl UnwindSafe for MultipartValue
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