[][src]Struct twilight_model::channel::TextChannel

pub struct TextChannel {
    pub guild_id: Option<GuildId>,
    pub id: ChannelId,
    pub kind: ChannelType,
    pub last_message_id: Option<MessageId>,
    pub last_pin_timestamp: Option<String>,
    pub name: String,
    pub nsfw: bool,
    pub permission_overwrites: Vec<PermissionOverwrite>,
    pub parent_id: Option<ChannelId>,
    pub position: i64,
    pub rate_limit_per_user: Option<u64>,
    pub topic: Option<String>,
}

Fields

guild_id: Option<GuildId>id: ChannelIdkind: ChannelTypelast_message_id: Option<MessageId>last_pin_timestamp: Option<String>name: Stringnsfw: boolpermission_overwrites: Vec<PermissionOverwrite>parent_id: Option<ChannelId>position: i64rate_limit_per_user: Option<u64>topic: Option<String>

Trait Implementations

impl Clone for TextChannel[src]

impl Debug for TextChannel[src]

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

impl Eq for TextChannel[src]

impl Hash for TextChannel[src]

impl PartialEq<TextChannel> for TextChannel[src]

impl Serialize for TextChannel[src]

impl StructuralEq for TextChannel[src]

impl StructuralPartialEq for TextChannel[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.