pub struct GetGuildCommands<'a> { /* private fields */ }
Expand description
Fetch all commands for a guild, by ID.
Implementations§
source§impl<'a> GetGuildCommands<'a>
impl<'a> GetGuildCommands<'a>
sourcepub const fn with_localizations(self, with_localizations: bool) -> Self
pub const fn with_localizations(self, with_localizations: bool) -> Self
Whether to include full localization dictionaries in the response.
Defaults to false
.
Trait Implementations§
source§impl IntoFuture for GetGuildCommands<'_>
impl IntoFuture for GetGuildCommands<'_>
source§type Output = Result<Response<ListBody<Command>>, Error>
type Output = Result<Response<ListBody<Command>>, Error>
The output that the future will produce on completion.
source§type IntoFuture = ResponseFuture<ListBody<Command>>
type IntoFuture = ResponseFuture<ListBody<Command>>
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
source§impl TryIntoRequest for GetGuildCommands<'_>
impl TryIntoRequest for GetGuildCommands<'_>
Auto Trait Implementations§
impl<'a> Freeze for GetGuildCommands<'a>
impl<'a> !RefUnwindSafe for GetGuildCommands<'a>
impl<'a> Send for GetGuildCommands<'a>
impl<'a> Sync for GetGuildCommands<'a>
impl<'a> Unpin for GetGuildCommands<'a>
impl<'a> !UnwindSafe for GetGuildCommands<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more