pub struct UpdateIncomingWebhookRequest {
pub id: String,
pub channel_id: String,
pub display_name: String,
pub description: String,
pub username: Option<String>,
pub icon_url: Option<String>,
}
Fields§
§id: String
Incoming webhook GUID
channel_id: String
The ID of a public channel or private group that receives the webhook payloads.
display_name: String
The display name for this incoming webhook
description: String
The description for this incoming webhook
username: Option<String>
The username this incoming webhook will post as.
icon_url: Option<String>
The profile picture this incoming webhook will use when posting.
Implementations§
Trait Implementations§
Source§impl Clone for UpdateIncomingWebhookRequest
impl Clone for UpdateIncomingWebhookRequest
Source§fn clone(&self) -> UpdateIncomingWebhookRequest
fn clone(&self) -> UpdateIncomingWebhookRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UpdateIncomingWebhookRequest
impl Debug for UpdateIncomingWebhookRequest
Source§impl Default for UpdateIncomingWebhookRequest
impl Default for UpdateIncomingWebhookRequest
Source§fn default() -> UpdateIncomingWebhookRequest
fn default() -> UpdateIncomingWebhookRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateIncomingWebhookRequest
impl<'de> Deserialize<'de> for UpdateIncomingWebhookRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for UpdateIncomingWebhookRequest
impl PartialEq for UpdateIncomingWebhookRequest
Source§fn eq(&self, other: &UpdateIncomingWebhookRequest) -> bool
fn eq(&self, other: &UpdateIncomingWebhookRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateIncomingWebhookRequest
Auto Trait Implementations§
impl Freeze for UpdateIncomingWebhookRequest
impl RefUnwindSafe for UpdateIncomingWebhookRequest
impl Send for UpdateIncomingWebhookRequest
impl Sync for UpdateIncomingWebhookRequest
impl Unpin for UpdateIncomingWebhookRequest
impl UnwindSafe for UpdateIncomingWebhookRequest
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