[][src]Struct automate::gateway::Webhook

pub struct Webhook {
    pub id: Snowflake,
    pub _type: WebhookType,
    pub guild_id: Option<Snowflake>,
    pub channel_id: Snowflake,
    pub user: Option<User>,
    pub name: Nullable<String>,
    pub avatar: Nullable<String>,
    pub token: Option<String>,
}

Fields

id: Snowflake_type: WebhookTypeguild_id: Option<Snowflake>channel_id: Snowflakeuser: Option<User>name: Nullable<String>avatar: Nullable<String>token: Option<String>

Trait Implementations

impl FromJson for Webhook[src]

impl From<Webhook> for Snowflake[src]

impl Debug for Webhook[src]

Auto Trait Implementations

impl Send for Webhook

impl Sync for Webhook

impl Unpin for Webhook

impl UnwindSafe for Webhook

impl RefUnwindSafe for Webhook

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,