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>[src]
impl<'f, A, T: FromUriParam<Query, A> + FromForm<'f>> FromUriParam<Query, A> for LenientForm<T>[src]fn from_uri_param(param: A) -> Self::Target[src]
fn from_uri_param(param: A) -> Self::Target[src]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
impl<'f, A, T: FromUriParam<Query, A> + FromForm<'f>> FromUriParam<Query, A> for Form<T>[src]
impl<'f, A, T: FromUriParam<Query, A> + FromForm<'f>> FromUriParam<Query, A> for Form<T>[src]fn from_uri_param(param: A) -> Self::Target[src]
fn from_uri_param(param: A) -> Self::Target[src]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
impl<T, E> UriDisplay<Query> for Result<T, E> where
T: UriDisplay<Query>, [src]
impl<T, E> UriDisplay<Query> for Result<T, E> where
T: UriDisplay<Query>, [src]Defers to the UriDisplay<Query> implementation for T.
impl<T> UriDisplay<Query> for Option<T> where
T: UriDisplay<Query>, [src]
impl<T> UriDisplay<Query> for Option<T> where
T: UriDisplay<Query>, [src]Defers to the UriDisplay<Query> implementation for T.
impl Copy for Query[src]
impl<T, E> Ignorable<Query> for Result<T, E>[src]
impl<T> Ignorable<Query> for Option<T>[src]
Auto Trait Implementations
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnwindSafe for Query
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> IntoCollection<T> for T[src]
impl<T> IntoCollection<T> for T[src]pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>, [src]
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>, [src]Converts self into a collection.
pub fn mapped<U, F, A>(self, f: F) -> SmallVec<A> where
F: FnMut(T) -> U,
A: Array<Item = U>, [src]
F: FnMut(T) -> U,
A: Array<Item = U>,
impl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
type Output = TShould always be Self
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,