pub struct SingleFileField {
pub content_type: Option<Mime>,
pub file_name: Option<String>,
pub path: PathBuf,
}
Fields
content_type: Option<Mime>
file_name: Option<String>
path: PathBuf
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SingleFileField
impl Send for SingleFileField
impl Sync for SingleFileField
impl Unpin for SingleFileField
impl UnwindSafe for SingleFileField
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> IntoCollection<T> for T
impl<T> IntoCollection<T> for T
fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
Converts
self
into a collection.