Struct twilight_http::request::guild::member::update_guild_member::UpdateGuildMember[][src]

pub struct UpdateGuildMember<'a> { /* fields omitted */ }
Expand description

Update a guild member.

All fields are optional. Refer to the discord docs for more information.

Implementations

Move the member to a different voice channel.

If true, restrict the member’s ability to hear sound from a voice channel.

If true, restrict the member’s ability to speak in a voice channel.

Set the nickname.

The minimum length is 1 UTF-16 character and the maximum is 32 UTF-16 characters.

Errors

Returns an UpdateGuildMemberErrorType::NicknameInvalid error type if the nickname length is too short or too long.

Set the new list of roles for a member.

Execute the request, returning a future resolving to a Response.

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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