Struct twilight_http::request::guild::create_guild::CategoryFieldsBuilder [−][src]
#[must_use = "must be built into a category channel"]pub struct CategoryFieldsBuilder { /* fields omitted */ }
Expand description
A builder for a category channel, and its children.
Implementations
The minimum number of UTF-16 code points that can be in a channel name.
This is used by new
.
The maximum number of UTF-16 code points that can be in a channel name.
This is used by new
.
Create a new category fields builder.
Errors
Returns a CategoryFieldsErrorType::NameTooShort
error type if the
name is too short.
Returns a CategoryFieldsErrorType::NameTooLong
error type if the
name is too long.
Add a child text channel.
add a child voice channel.
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 CategoryFieldsBuilder
impl Send for CategoryFieldsBuilder
impl Sync for CategoryFieldsBuilder
impl Unpin for CategoryFieldsBuilder
impl UnwindSafe for CategoryFieldsBuilder
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