pub struct FormFile { /* private fields */ }Expand description
Represents a file sent in a form.
Implementations§
Trait Implementations§
Source§impl FromMultipartField for FormFile
impl FromMultipartField for FormFile
Source§fn from_field(field: &MultipartField) -> Result<Self, Error>
fn from_field(field: &MultipartField) -> Result<Self, Error>
Parses the value of the given form field.
Auto Trait Implementations§
impl !Freeze for FormFile
impl RefUnwindSafe for FormFile
impl Send for FormFile
impl Sync for FormFile
impl Unpin for FormFile
impl UnwindSafe for FormFile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FromMultipart for Twhere
T: FromMultipartField,
impl<T> FromMultipart for Twhere
T: FromMultipartField,
Source§fn from_multipart(
multipart: &MultipartForm,
ctx: FormContext<'_>,
) -> Result<T, Error>
fn from_multipart( multipart: &MultipartForm, ctx: FormContext<'_>, ) -> Result<T, Error>
Constructs this type from the given multipart form.