Struct twilight_http::request::guild::create_guild::VoiceFieldsBuilder
source · [−]pub struct VoiceFieldsBuilder(_);
Expand description
A builder for voice fields.
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 voice fields builder.
Errors
Returns a VoiceFieldsErrorType::NameTooShort
error type if the name
is too short.
Returns a VoiceFieldsErrorType::NameTooLong
error type if the name
is too long.
Build the voice fields.
Set the channel’s permission overwrites.
Set the voice channel’s user limit.
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 VoiceFieldsBuilder
impl Send for VoiceFieldsBuilder
impl Sync for VoiceFieldsBuilder
impl Unpin for VoiceFieldsBuilder
impl UnwindSafe for VoiceFieldsBuilder
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