Struct multipart::server::save::PartialEntries [] [src]

pub struct PartialEntries<M> {
    pub entries: Entries,
    pub partial_file: Option<PartialFileField<M>>,
}

The partial result type for Multipart::save*().

Contains the successfully saved entries as well as the partially saved file that was in the process of being read when the error occurred, if applicable.

Fields

The entries that were saved successfully.

The file that was in the process of being read. None if the error occurred between file entries.

Methods

impl<M> PartialEntries<M>
[src]

If partial_file is present and contains a SavedFile then just add it to the Entries instance and return it.

Otherwise, returns self.entries

Trait Implementations

impl<M: Debug> Debug for PartialEntries<M>
[src]

Formats the value using the given formatter.

impl<M> Into<Entries> for PartialEntries<M>
[src]

Discards partial_file

Performs the conversion.