pub struct UpdateWebhookBody {
pub name: Option<String>,
pub avatar: Option<String>,
pub channel_id: Option<Id<ChannelMarker>>,
}Fields§
§name: Option<String>§avatar: Option<String>§channel_id: Option<Id<ChannelMarker>>Implementations§
Source§impl UpdateWebhookBody
impl UpdateWebhookBody
Sourcepub fn builder() -> UpdateWebhookBodyBuilder
pub fn builder() -> UpdateWebhookBodyBuilder
Create an instance of UpdateWebhookBody using the builder syntax
Trait Implementations§
Source§impl Clone for UpdateWebhookBody
impl Clone for UpdateWebhookBody
Source§fn clone(&self) -> UpdateWebhookBody
fn clone(&self) -> UpdateWebhookBody
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 UpdateWebhookBody
impl Debug for UpdateWebhookBody
Auto Trait Implementations§
impl Freeze for UpdateWebhookBody
impl RefUnwindSafe for UpdateWebhookBody
impl Send for UpdateWebhookBody
impl Sync for UpdateWebhookBody
impl Unpin for UpdateWebhookBody
impl UnsafeUnpin for UpdateWebhookBody
impl UnwindSafe for UpdateWebhookBody
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