Struct gotham_formdata::value::Value
source · 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> Send for Value<'a, Err>
impl<'a, Err> !Sync for Value<'a, Err>
impl<'a, Err> Unpin for Value<'a, Err>
impl<'a, Err> !UnwindSafe for Value<'a, Err>
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