Struct poem_openapi::types::multipart::Upload [−][src]
pub struct Upload { /* fields omitted */ }
Expand description
A uploaded file for multipart.
Implementations
Trait Implementations
fn parse_from_multipart<'async_trait>(
field: Option<PoemField>
) -> Pin<Box<dyn Future<Output = ParseResult<Self>> + Send + 'async_trait>> where
Self: 'async_trait,
fn parse_from_multipart<'async_trait>(
field: Option<PoemField>
) -> Pin<Box<dyn Future<Output = ParseResult<Self>> + Send + 'async_trait>> where
Self: 'async_trait,
Parse from multipart field.
fn parse_from_repeated_field<'async_trait>(
self,
_field: PoemField
) -> Pin<Box<dyn Future<Output = ParseResult<Self>> + Send + 'async_trait>> where
Self: Send + 'async_trait,
fn parse_from_repeated_field<'async_trait>(
self,
_field: PoemField
) -> Pin<Box<dyn Future<Output = ParseResult<Self>> + Send + 'async_trait>> where
Self: Send + 'async_trait,
Parse from repeated multipart field.
type RawValueType = Self
type RawValueType = Self
The raw type used for validator. Read more
Returns a reference to the raw value.
Get schema reference of this type.
If it is true
, it means that this value is required.
Auto Trait Implementations
impl !RefUnwindSafe for Upload
impl !UnwindSafe for Upload
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more