Struct twilight_model::channel::TextChannel [−][src]
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 parent_id: Option<ChannelId>,
pub permission_overwrites: Vec<PermissionOverwrite>,
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: boolparent_id: Option<ChannelId>permission_overwrites: Vec<PermissionOverwrite>position: i64rate_limit_per_user: Option<u64>topic: Option<String>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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for TextChannelimpl Send for TextChannelimpl Sync for TextChannelimpl Unpin for TextChannelimpl UnwindSafe for TextChannelBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more