IntoRequest

Trait IntoRequest 

Source
pub trait IntoRequest: AsRef<Self::Body> {
    type Body: Clone + Serialize + DeserializeOwned + Debug;

    const METHOD: Method = Method::GET;
}

Provided Associated Constants§

Source

const METHOD: Method = Method::GET

Required Associated Types§

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.

Implementors§