Struct twilight_http::request::guild::integration::GetGuildIntegrations
source · pub struct GetGuildIntegrations<'a> { /* private fields */ }Expand description
Get the guild’s integrations.
This endpoint returns a maximum of 50 integrations. If a guild has more integrations then they can’t be accessed.
Implementations§
source§impl<'a> GetGuildIntegrations<'a>
impl<'a> GetGuildIntegrations<'a>
sourcepub fn exec(self) -> ResponseFuture<ListBody<GuildIntegration>> ⓘ
👎Deprecated since 0.14.0: use .await or into_future instead
pub fn exec(self) -> ResponseFuture<ListBody<GuildIntegration>> ⓘ
.await or into_future insteadExecute the request, returning a future resolving to a Response.
Trait Implementations§
source§impl IntoFuture for GetGuildIntegrations<'_>
impl IntoFuture for GetGuildIntegrations<'_>
§type Output = Result<Response<ListBody<GuildIntegration>>, Error>
type Output = Result<Response<ListBody<GuildIntegration>>, Error>
The output that the future will produce on completion.
§type IntoFuture = ResponseFuture<ListBody<GuildIntegration>>
type IntoFuture = ResponseFuture<ListBody<GuildIntegration>>
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