Struct rest_api_utils::multipart::Part [−][src]
pub struct Part { /* fields omitted */ }Expand description
A field in a multipart form.
Implementations
Makes a new parameter from arbitrary bytes.
Makes a new parameter from an arbitrary stream.
Makes a new parameter from an arbitrary stream with a known length. This is particularly useful when adding something like file contents as a stream, where you can know the content length beforehand.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Part
impl !UnwindSafe for Part
Blanket Implementations
Mutably borrows from an owned value. Read more
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