pub struct WebhookExecutePayload {
pub content: Option<String>,
pub username: Option<String>,
pub avatar_url: Option<String>,
pub tts: Option<bool>,
pub embeds: Option<Vec<Embed>>,
}Fields§
§content: Option<String>§username: Option<String>Override the webhook’s name for this message.
avatar_url: Option<String>Override the webhook’s avatar for this message.
tts: Option<bool>§embeds: Option<Vec<Embed>>Trait Implementations§
Source§impl Clone for WebhookExecutePayload
impl Clone for WebhookExecutePayload
Source§fn clone(&self) -> WebhookExecutePayload
fn clone(&self) -> WebhookExecutePayload
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WebhookExecutePayload
impl Debug for WebhookExecutePayload
Source§impl Default for WebhookExecutePayload
impl Default for WebhookExecutePayload
Source§fn default() -> WebhookExecutePayload
fn default() -> WebhookExecutePayload
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WebhookExecutePayload
impl RefUnwindSafe for WebhookExecutePayload
impl Send for WebhookExecutePayload
impl Sync for WebhookExecutePayload
impl Unpin for WebhookExecutePayload
impl UnsafeUnpin for WebhookExecutePayload
impl UnwindSafe for WebhookExecutePayload
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