Struct sentry::application::Qs
source · pub struct Qs<T>(pub T);
Expand description
A query string deserialized using serde_qs
instead of axum’s serde_urlencoded
Tuple Fields
0: T
Trait Implementations
sourceimpl<T, B> FromRequest<B> for Qs<T>where
T: DeserializeOwned,
B: Send,
impl<T, B> FromRequest<B> for Qs<T>where
T: DeserializeOwned,
B: Send,
type Rejection = (StatusCode, String)
type Rejection = (StatusCode, String)
If the extractor fails it’ll use this “rejection” type. A rejection is
a kind of error that can be converted into a response. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for Qs<T>where
T: RefUnwindSafe,
impl<T> Send for Qs<T>where
T: Send,
impl<T> Sync for Qs<T>where
T: Sync,
impl<T> Unpin for Qs<T>where
T: Unpin,
impl<T> UnwindSafe for Qs<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more