Struct gotham::http::FormUrlDecoded
[−]
[src]
pub struct FormUrlDecoded { /* fields omitted */ }
Represents data that has been successfully decoded from a form-urlencoded source and is valid utf8
Methods
impl FormUrlDecoded
[src]
fn new(raw: &str) -> Option<Self>
Attempt to decode data that has been provided in www-form-urlencoded format and ensure that the result is valid utf8.
On success encapulate resultant data for use by components that expect this transformation has already occured.
fn val(&self) -> &str
Provide the decoded data this type encapsulates
Trait Implementations
impl PartialEq for FormUrlDecoded
[src]
fn eq(&self, __arg_0: &FormUrlDecoded) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FormUrlDecoded) -> bool
This method tests for !=
.
impl Eq for FormUrlDecoded
[src]
impl Hash for FormUrlDecoded
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more