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> 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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,