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
sourceimpl<'a> GetGuildVoiceRegions<'a>
impl<'a> GetGuildVoiceRegions<'a>
sourcepub fn exec(self) -> ResponseFuture<ListBody<VoiceRegion>>ⓘNotable traits for ResponseFuture<T>impl<T: Unpin> Future for ResponseFuture<T> type Output = Result<Response<T>, Error>;
pub fn exec(self) -> ResponseFuture<ListBody<VoiceRegion>>ⓘNotable traits for ResponseFuture<T>impl<T: Unpin> Future for ResponseFuture<T> type Output = Result<Response<T>, Error>;
Execute the request, returning a future resolving to a Response
.
Trait Implementations
sourceimpl TryIntoRequest for GetGuildVoiceRegions<'_>
impl TryIntoRequest for GetGuildVoiceRegions<'_>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for GetGuildVoiceRegions<'a>
impl<'a> Send for GetGuildVoiceRegions<'a>
impl<'a> Sync for GetGuildVoiceRegions<'a>
impl<'a> Unpin for GetGuildVoiceRegions<'a>
impl<'a> !UnwindSafe for GetGuildVoiceRegions<'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