Enum rocket::http::uri::Query [−][src]
pub enum Query {}
Expand description
Marker type indicating use of a type for the query UriPart
of a URI.
In route URIs, this corresponds to all of the text after a ?
, if any.
#[get("/home/<name>/<page>?<item>&<form..>")]
^-------------- Query
Trait Implementations
impl<'f, A, T: FromUriParam<Query, A> + FromForm<'f>> FromUriParam<Query, A> for LenientForm<T>
impl<'f, A, T: FromUriParam<Query, A> + FromForm<'f>> FromUriParam<Query, A> for LenientForm<T>
Converts a value of type T
into a value of type Self::Target
. The
resulting value of type Self::Target
will be rendered into a URI using
its UriDisplay
implementation. Read more
Converts a value of type T
into a value of type Self::Target
. The
resulting value of type Self::Target
will be rendered into a URI using
its UriDisplay
implementation. Read more
Defers to the UriDisplay<Query>
implementation for T
.
Defers to the UriDisplay<Query>
implementation for T
.
Auto Trait Implementations
impl RefUnwindSafe for Query
impl UnwindSafe for Query
Blanket Implementations
Mutably borrows from an owned value. Read more