Struct twilight_http::request::guild::create_guild::CategoryFieldsBuilder
source · [−]pub struct CategoryFieldsBuilder { /* private fields */ }
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.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more