Struct twilight_http::request::template::GetTemplates
source · pub struct GetTemplates<'a> { /* private fields */ }
Expand description
Get a list of templates in a guild, by ID.
Implementations
sourceimpl<'a> GetTemplates<'a>
impl<'a> GetTemplates<'a>
Trait Implementations
sourceimpl IntoFuture for GetTemplates<'_>
impl IntoFuture for GetTemplates<'_>
type Output = Result<Response<ListBody<Template>>, Error>
type Output = Result<Response<ListBody<Template>>, Error>
The output that the future will produce on completion.
type IntoFuture = ResponseFuture<ListBody<Template>>
type IntoFuture = ResponseFuture<ListBody<Template>>
Which kind of future are we turning this into?
sourcefn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
sourceimpl TryIntoRequest for GetTemplates<'_>
impl TryIntoRequest for GetTemplates<'_>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for GetTemplates<'a>
impl<'a> Send for GetTemplates<'a>
impl<'a> Sync for GetTemplates<'a>
impl<'a> Unpin for GetTemplates<'a>
impl<'a> !UnwindSafe for GetTemplates<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more