Struct twilight_http::request::guild::create_guild::CategoryFields [−][src]
pub struct CategoryFields { pub id: ChannelId, pub kind: ChannelType, pub name: String, pub permission_overwrites: Option<Vec<PermissionOverwrite>>, }
Expand description
Category channel fields sent to Discord.
Use CategoryFieldsBuilder
to build one.
Fields
id: ChannelId
kind: ChannelType
name: String
permission_overwrites: Option<Vec<PermissionOverwrite>>
Trait Implementations
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 CategoryFields
impl Send for CategoryFields
impl Sync for CategoryFields
impl Unpin for CategoryFields
impl UnwindSafe for CategoryFields
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V