[][src]Struct twilight_model::invite::WelcomeScreenChannel

pub struct WelcomeScreenChannel {
    pub channel_id: ChannelId,
    pub description: String,
    pub emoji_id: Option<EmojiId>,
    pub emoji_name: Option<String>,
}

Fields

channel_id: ChannelId

ID of the channel.

description: String

Description of the channel.

emoji_id: Option<EmojiId>

ID of the emoji if the emoji is custom.

emoji_name: Option<String>

Emoji's name if it is custom, or the unicode character.

Trait Implementations

impl Clone for WelcomeScreenChannel[src]

impl Debug for WelcomeScreenChannel[src]

impl<'de> Deserialize<'de> for WelcomeScreenChannel[src]

impl Eq for WelcomeScreenChannel[src]

impl Hash for WelcomeScreenChannel[src]

impl PartialEq<WelcomeScreenChannel> for WelcomeScreenChannel[src]

impl Serialize for WelcomeScreenChannel[src]

impl StructuralEq for WelcomeScreenChannel[src]

impl StructuralPartialEq for WelcomeScreenChannel[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

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.