pub struct FileCollection(/* private fields */);Expand description
Provides a way to collect all the files in a form.
Implementations§
Source§impl FileCollection
impl FileCollection
Sourcepub fn into_inner(self) -> Vec<FormFile>
pub fn into_inner(self) -> Vec<FormFile>
Returns all the collected files.
Trait Implementations§
Source§impl FromMultipart for FileCollection
impl FromMultipart for FileCollection
Source§fn from_multipart(
multipart: &MultipartForm,
ctx: FormContext<'_>,
) -> Result<Self, Error>
fn from_multipart( multipart: &MultipartForm, ctx: FormContext<'_>, ) -> Result<Self, Error>
Constructs this type from the given multipart form.
Auto Trait Implementations§
impl Freeze for FileCollection
impl RefUnwindSafe for FileCollection
impl Send for FileCollection
impl Sync for FileCollection
impl Unpin for FileCollection
impl UnwindSafe for FileCollection
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