pub struct GetEmojis<'a> { /* private fields */ }
Expand description
Get the emojis for a guild, by the guild’s id.
Examples
Get the emojis for guild 100
:
use twilight_http::Client;
use twilight_model::id::Id;
let client = Client::new("my token".to_owned());
let guild_id = Id::new(100);
client.emojis(guild_id).exec().await?;
Implementations
Trait Implementations
sourceimpl TryIntoRequest for GetEmojis<'_>
impl TryIntoRequest for GetEmojis<'_>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for GetEmojis<'a>
impl<'a> Send for GetEmojis<'a>
impl<'a> Sync for GetEmojis<'a>
impl<'a> Unpin for GetEmojis<'a>
impl<'a> !UnwindSafe for GetEmojis<'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