Struct twilight_model::channel::CategoryChannel [−][src]
pub struct CategoryChannel { pub guild_id: Option<GuildId>, pub id: ChannelId, pub kind: ChannelType, pub name: String, pub permission_overwrites: Vec<PermissionOverwrite>, pub position: i64, }
Fields
guild_id: Option<GuildId>
id: ChannelId
kind: ChannelType
name: String
permission_overwrites: Vec<PermissionOverwrite>
position: i64
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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 CategoryChannel
impl Send for CategoryChannel
impl Sync for CategoryChannel
impl Unpin for CategoryChannel
impl UnwindSafe for CategoryChannel
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more