[][src]Trait uni_components::AsResponse

pub trait AsResponse: 'static + DeserializeOwned + Serialize + Send + Sync {
    fn to_response(self) -> Response;
}

The trait to convert to Response

Required methods

fn to_response(self) -> Response

Loading content...

Implementors

Loading content...