[][src]Struct awmp::PartsConfig

pub struct PartsConfig { /* fields omitted */ }

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]

impl Debug for PartsConfig[src]

impl Default for PartsConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,