pub trait ExecuteWebhookExt {
// Required method
fn in_channel(self, channel: &Channel) -> Self;
}Expand description
Utility functions to execute webhooks
Required Methods§
Sourcefn in_channel(self, channel: &Channel) -> Self
fn in_channel(self, channel: &Channel) -> Self
If the channel is a thread channel, execute the webhook in it
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.