IntoApi

Trait IntoApi 

Source
pub trait IntoApi {
    // Required method
    fn into_api<A>(self) -> UseApi<Self, A>
       where Self: Sized;
}
Expand description

helper trait to allow simplified use of UseApi in responses

Required Methods§

Source

fn into_api<A>(self) -> UseApi<Self, A>
where Self: Sized,

into UseApi

Implementors§

Source§

impl<T> IntoApi for T