pub struct CertificateConfigurationUpdateForm {
metadata: Json<CertificateConfigurationUpdate>,
files: Vec<TempFile>,
}
Fields§
§metadata: Json<CertificateConfigurationUpdate>
§files: Vec<TempFile>
Trait Implementations§
Source§impl MultipartCollect for CertificateConfigurationUpdateForm
impl MultipartCollect for CertificateConfigurationUpdateForm
Source§fn limit(field_name: &str) -> Option<usize>
fn limit(field_name: &str) -> Option<usize>
An optional limit in bytes to be applied a given field name. Note this limit will be shared
across all fields sharing the same name.
Source§fn handle_field<'t>(
req: &'t HttpRequest,
field: Field,
limits: &'t mut Limits,
state: &'t mut State,
) -> Pin<Box<dyn Future<Output = Result<(), MultipartError>> + 't>>
fn handle_field<'t>( req: &'t HttpRequest, field: Field, limits: &'t mut Limits, state: &'t mut State, ) -> Pin<Box<dyn Future<Output = Result<(), MultipartError>> + 't>>
The extractor will call this function for each incoming field, the state can be updated
with the processed field data.
Source§fn from_state(state: State) -> Result<Self, MultipartError>
fn from_state(state: State) -> Result<Self, MultipartError>
Once all the fields have been processed and stored in the state, this is called
to convert into the struct representation.
Auto Trait Implementations§
impl Freeze for CertificateConfigurationUpdateForm
impl RefUnwindSafe for CertificateConfigurationUpdateForm
impl Send for CertificateConfigurationUpdateForm
impl Sync for CertificateConfigurationUpdateForm
impl Unpin for CertificateConfigurationUpdateForm
impl UnwindSafe for CertificateConfigurationUpdateForm
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more