Struct twilight_http::request::guild::GetGuildVoiceRegions
source · pub struct GetGuildVoiceRegions<'a> { /* private fields */ }Expand description
Get voice region data for the guild.
Can return VIP servers if the guild is VIP-enabled.
Implementations§
source§impl<'a> GetGuildVoiceRegions<'a>
impl<'a> GetGuildVoiceRegions<'a>
sourcepub fn exec(self) -> ResponseFuture<ListBody<VoiceRegion>> ⓘ
👎Deprecated since 0.14.0: use .await or into_future instead
pub fn exec(self) -> ResponseFuture<ListBody<VoiceRegion>> ⓘ
.await or into_future insteadExecute the request, returning a future resolving to a Response.
Trait Implementations§
source§impl IntoFuture for GetGuildVoiceRegions<'_>
impl IntoFuture for GetGuildVoiceRegions<'_>
§type Output = Result<Response<ListBody<VoiceRegion>>, Error>
type Output = Result<Response<ListBody<VoiceRegion>>, Error>
The output that the future will produce on completion.
§type IntoFuture = ResponseFuture<ListBody<VoiceRegion>>
type IntoFuture = ResponseFuture<ListBody<VoiceRegion>>
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