pub struct FileUpload {
pub file_name: String,
pub body: Body,
}Expand description
A file upload
Fields§
§file_name: StringThe file name
body: BodyThe file body
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for FileUpload
impl !RefUnwindSafe for FileUpload
impl Send for FileUpload
impl Sync for FileUpload
impl Unpin for FileUpload
impl !UnwindSafe for FileUpload
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