Struct twilight_http::request::template::GetTemplate
source · pub struct GetTemplate<'a> { /* private fields */ }Expand description
Get a template by its code.
Implementations§
source§impl<'a> GetTemplate<'a>
impl<'a> GetTemplate<'a>
Trait Implementations§
source§impl IntoFuture for GetTemplate<'_>
impl IntoFuture for GetTemplate<'_>
§type Output = Result<Response<Template>, Error>
type Output = Result<Response<Template>, Error>
The output that the future will produce on completion.
§type IntoFuture = ResponseFuture<Template>
type IntoFuture = ResponseFuture<Template>
Which kind of future are we turning this into?
source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more