Struct gotham_formdata::value::Value [−][src]
pub struct Value<'a, Err> {
pub value: BytesOrString<'a, Err>,
pub content_type: Option<Mime>,
}
Expand description
A value, either a string parsed from and urlencoded form, or bytes from a multipart body.
Fields
value: BytesOrString<'a, Err>
The value of the field.
content_type: Option<Mime>
The content-type of the field, if any.
Trait Implementations
Auto Trait Implementations
impl<'a, Err> !RefUnwindSafe for Value<'a, Err>
impl<'a, Err> !UnwindSafe for Value<'a, Err>
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