[−][src]Struct awmp::PartsConfig
FromRequest configurator
Implementations
impl PartsConfig[src]
pub fn with_text_limit(self, text_limit: usize) -> Self[src]
Any text fields above this limit will be converted to file fields
pub fn with_file_limit(self, file_limit: usize) -> Self[src]
Any file fields above this limit will be ignored
pub fn with_file_fields(self, file_fields: Vec<String>) -> Self[src]
Any form names that should be interpreted as files
pub fn with_text_fields(self, text_fields: Vec<String>) -> Self[src]
Any form names that should be interpreted as inline texts
pub fn with_temp_dir<I: Into<PathBuf>>(self, temp_dir: I) -> Self[src]
To use a different location than the tempfile default
Trait Implementations
impl Clone for PartsConfig[src]
fn clone(&self) -> PartsConfig[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for PartsConfig[src]
impl Default for PartsConfig[src]
fn default() -> PartsConfig[src]
Auto Trait Implementations
impl RefUnwindSafe for PartsConfig
impl Send for PartsConfig
impl Sync for PartsConfig
impl Unpin for PartsConfig
impl UnwindSafe for PartsConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,