pub struct IncomingWebhook {
pub id: Option<String>,
pub create_at: Option<i64>,
pub update_at: Option<i64>,
pub delete_at: Option<i64>,
pub channel_id: Option<String>,
pub description: Option<String>,
pub display_name: Option<String>,
}
Fields§
§id: Option<String>
The unique identifier for this incoming webhook
create_at: Option<i64>
The time in milliseconds a incoming webhook was created
update_at: Option<i64>
The time in milliseconds a incoming webhook was last updated
delete_at: Option<i64>
The time in milliseconds a incoming webhook was deleted
channel_id: Option<String>
The ID of a public channel or private group that receives the webhook payloads
description: Option<String>
The description for this incoming webhook
display_name: Option<String>
The display name for this incoming webhook
Implementations§
Source§impl IncomingWebhook
impl IncomingWebhook
pub fn new() -> IncomingWebhook
Trait Implementations§
Source§impl Clone for IncomingWebhook
impl Clone for IncomingWebhook
Source§fn clone(&self) -> IncomingWebhook
fn clone(&self) -> IncomingWebhook
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 IncomingWebhook
impl Debug for IncomingWebhook
Source§impl Default for IncomingWebhook
impl Default for IncomingWebhook
Source§fn default() -> IncomingWebhook
fn default() -> IncomingWebhook
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IncomingWebhook
impl<'de> Deserialize<'de> for IncomingWebhook
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 IncomingWebhook
impl PartialEq for IncomingWebhook
Source§impl Serialize for IncomingWebhook
impl Serialize for IncomingWebhook
impl StructuralPartialEq for IncomingWebhook
Auto Trait Implementations§
impl Freeze for IncomingWebhook
impl RefUnwindSafe for IncomingWebhook
impl Send for IncomingWebhook
impl Sync for IncomingWebhook
impl Unpin for IncomingWebhook
impl UnwindSafe for IncomingWebhook
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