pub trait IntoResponse<T: EmbedRespondable> {
// Required method
fn into_response(self) -> EmbedResponse<T>;
}Expand description
A specialized version of Into, which can help you avoid specifying the type in `Into’.
Required Methods§
Sourcefn into_response(self) -> EmbedResponse<T>
fn into_response(self) -> EmbedResponse<T>
A specialized version of Into::into.