Struct async_graphql::http::MultipartOptions [−][src]
This is supported on crate feature
multipart
only.Options for receive_multipart
.
Fields (Non-exhaustive)
max_file_size: Option<usize>
The maximum file size.
max_num_files: Option<usize>
The maximum number of files.
Implementations
impl MultipartOptions
[src][−]
pub fn max_file_size(self, size: usize) -> Self
[src][−]
Set maximum file size.
pub fn max_num_files(self, n: usize) -> Self
[src][−]
Set maximum number of files.
Trait Implementations
impl Clone for MultipartOptions
[src][+]
impl Copy for MultipartOptions
[src]
impl Default for MultipartOptions
[src][+]
Auto Trait Implementations
impl RefUnwindSafe for MultipartOptions
impl Send for MultipartOptions
impl Sync for MultipartOptions
impl Unpin for MultipartOptions
impl UnwindSafe for MultipartOptions
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,
impl<T> From<T> for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[+]
V: MultiLane<T>,