pub struct WebhookEditPayload {
pub content: Option<String>,
pub embeds: Option<Vec<Embed>>,
}Fields§
§content: Option<String>§embeds: Option<Vec<Embed>>Trait Implementations§
Source§impl Clone for WebhookEditPayload
impl Clone for WebhookEditPayload
Source§fn clone(&self) -> WebhookEditPayload
fn clone(&self) -> WebhookEditPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WebhookEditPayload
impl Debug for WebhookEditPayload
Source§impl Default for WebhookEditPayload
impl Default for WebhookEditPayload
Source§fn default() -> WebhookEditPayload
fn default() -> WebhookEditPayload
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WebhookEditPayload
impl RefUnwindSafe for WebhookEditPayload
impl Send for WebhookEditPayload
impl Sync for WebhookEditPayload
impl Unpin for WebhookEditPayload
impl UnsafeUnpin for WebhookEditPayload
impl UnwindSafe for WebhookEditPayload
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