pub struct Webhooks { /* private fields */ }
Expand description
Webhooks related APIs.
Implementations§
Source§impl Webhooks
impl Webhooks
Sourcepub async fn execute_webhook(
&self,
message: WebhookMessage,
) -> Result<(), DiscordClientError>
pub async fn execute_webhook( &self, message: WebhookMessage, ) -> Result<(), DiscordClientError>
Execute(Send) webhook message.
Auto Trait Implementations§
impl Freeze for Webhooks
impl !RefUnwindSafe for Webhooks
impl Send for Webhooks
impl Sync for Webhooks
impl Unpin for Webhooks
impl !UnwindSafe for Webhooks
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