Trait FromQueryString

Source
pub trait FromQueryString: for<'de> Deserialize<'de> {
    // Provided method
    fn from_query(data: &str) -> Result<Self, Error>
       where Self: Sized { ... }
}

Provided Methods§

Source

fn from_query(data: &str) -> Result<Self, Error>
where Self: Sized,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl FromQueryString for ()

Source§

fn from_query(_data: &str) -> Result<Self, Error>
where Self: Sized,

Source§

impl FromQueryString for String

Source§

fn from_query(data: &str) -> Result<Self, Error>
where Self: Sized,

Implementors§