Struct gotham::http::PercentDecoded
[−]
[src]
pub struct PercentDecoded { /* fields omitted */ }
Represents data that has been successfully percent decoded and is valid utf8
Methods
impl PercentDecoded
[src]
fn new(raw: &str) -> Option<Self>
Attempt to decode data that has been provided in a perecent encoded 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 Clone for PercentDecoded
[src]
fn clone(&self) -> PercentDecoded
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for PercentDecoded
[src]
fn eq(&self, __arg_0: &PercentDecoded) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PercentDecoded) -> bool
This method tests for !=
.