[][src]Struct dyscord::Channel

pub struct Channel {
    pub id: Snowflake,
    pub type: ChannelType,
    pub guild_id: Option<Snowflake>,
    pub position: Option<u32>,
    pub permission_overwrites: Vec<PermissionOverwrite>,
    pub name: Option<String>,
    pub topic: Option<String>,
    pub nsfw: Option<bool>,
    pub last_message_id: Option<Snowflake>,
    pub bitrate: Option<u64>,
    pub user_limit: Option<u32>,
    pub rate_limit_per_user: Option<u32>,
    pub recipients: Option<Vec<User>>,
    pub icon: Option<String>,
    pub owner_id: Option<Snowflake>,
    pub application_id: Option<Snowflake>,
    pub parent_id: Option<Snowflake>,
    pub last_pin_timestamp: Option<TimeStamp>,


id: Snowflaketype: ChannelTypeguild_id: Option<Snowflake>position: Option<u32>permission_overwrites: Vec<PermissionOverwrite>name: Option<String>topic: Option<String>nsfw: Option<bool>last_message_id: Option<Snowflake>bitrate: Option<u64>user_limit: Option<u32>rate_limit_per_user: Option<u32>recipients: Option<Vec<User>>icon: Option<String>owner_id: Option<Snowflake>application_id: Option<Snowflake>parent_id: Option<Snowflake>last_pin_timestamp: Option<TimeStamp>

Trait Implementations

impl Debug for Channel[src]

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

Auto Trait Implementations

impl RefUnwindSafe for Channel

impl Send for Channel

impl Sync for Channel

impl Unpin for Channel

impl UnwindSafe for Channel

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.

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