pub trait AsMultipartBody<T> {
// Required method
fn as_multipart_body(&self) -> MultipartBody<'_, T>;
}Expand description
What a generated operation takes a multipart body with file parts as: &T, every file part
sending its part name as its filename, or a MultipartBody over T, sending the ones
set on it.
Required Methods§
Sourcefn as_multipart_body(&self) -> MultipartBody<'_, T>
fn as_multipart_body(&self) -> MultipartBody<'_, T>
The body as a MultipartBody, with the file names set on it.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".