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