pub struct MultipartFile {
pub file_name: String,
pub bytes: Vec<u8>,
}Expand description
A file part for multipart uploads.
Fields§
§file_name: String§bytes: Vec<u8>Trait Implementations§
Source§impl Clone for MultipartFile
impl Clone for MultipartFile
Source§fn clone(&self) -> MultipartFile
fn clone(&self) -> MultipartFile
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 MultipartFile
impl RefUnwindSafe for MultipartFile
impl Send for MultipartFile
impl Sync for MultipartFile
impl Unpin for MultipartFile
impl UnsafeUnpin for MultipartFile
impl UnwindSafe for MultipartFile
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