pub struct UpdateOutgoingWebhookRequest {
pub id: String,
pub channel_id: String,
pub display_name: String,
pub description: String,
}
Fields§
§id: String
Outgoing 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
Implementations§
Trait Implementations§
Source§impl Clone for UpdateOutgoingWebhookRequest
impl Clone for UpdateOutgoingWebhookRequest
Source§fn clone(&self) -> UpdateOutgoingWebhookRequest
fn clone(&self) -> UpdateOutgoingWebhookRequest
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 UpdateOutgoingWebhookRequest
impl Debug for UpdateOutgoingWebhookRequest
Source§impl Default for UpdateOutgoingWebhookRequest
impl Default for UpdateOutgoingWebhookRequest
Source§fn default() -> UpdateOutgoingWebhookRequest
fn default() -> UpdateOutgoingWebhookRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateOutgoingWebhookRequest
impl<'de> Deserialize<'de> for UpdateOutgoingWebhookRequest
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 UpdateOutgoingWebhookRequest
impl PartialEq for UpdateOutgoingWebhookRequest
Source§fn eq(&self, other: &UpdateOutgoingWebhookRequest) -> bool
fn eq(&self, other: &UpdateOutgoingWebhookRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateOutgoingWebhookRequest
Auto Trait Implementations§
impl Freeze for UpdateOutgoingWebhookRequest
impl RefUnwindSafe for UpdateOutgoingWebhookRequest
impl Send for UpdateOutgoingWebhookRequest
impl Sync for UpdateOutgoingWebhookRequest
impl Unpin for UpdateOutgoingWebhookRequest
impl UnwindSafe for UpdateOutgoingWebhookRequest
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