pub struct RawQuery(pub Option<String>);Expand description
The query string as sent (still percent-encoded), None without one.
Tuple Fields§
§0: Option<String>Trait Implementations§
impl Eq for RawQuery
Source§impl FromRequestParts for RawQuery
impl FromRequestParts for RawQuery
impl StructuralPartialEq for RawQuery
Auto Trait Implementations§
impl Forget for RawQuery
impl Freeze for RawQuery
impl Move for RawQuery
impl RefUnwindSafe for RawQuery
impl Send for RawQuery
impl Sync for RawQuery
impl Unpin for RawQuery
impl UnsafeUnpin for RawQuery
impl UnwindSafe for RawQuery
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> FromRequest<ViaParts> for Twhere
T: FromRequestParts,
impl<T> FromRequest<ViaParts> for Twhere
T: FromRequestParts,
Source§type Rejection = <T as FromRequestParts>::Rejection
type Rejection = <T as FromRequestParts>::Rejection
What a failed extraction answers.
Source§async fn from_request(
request: Request<Body>,
) -> Result<T, <T as FromRequest<ViaParts>>::Rejection>
async fn from_request( request: Request<Body>, ) -> Result<T, <T as FromRequest<ViaParts>>::Rejection>
Reads the extractor from the request.