Struct twilight_model::channel::Webhook [−][src]
pub struct Webhook {
pub application_id: Option<ApplicationId>,
pub avatar: Option<String>,
pub channel_id: ChannelId,
pub guild_id: Option<GuildId>,
pub id: WebhookId,
pub kind: WebhookType,
pub name: Option<String>,
pub token: Option<String>,
pub user: Option<User>,
}Fields
application_id: Option<ApplicationId>avatar: Option<String>channel_id: ChannelIdguild_id: Option<GuildId>id: WebhookIdkind: WebhookTypename: Option<String>token: Option<String>user: Option<User>Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Webhookimpl UnwindSafe for WebhookBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more