Struct serenity::builder::EditMember [] [src]

pub struct EditMember(pub Map<String, Value>);

A builder which edits the properties of a Member, to be used in conjunction with Member::edit.

Methods

impl EditMember
[src]

[src]

Whether to deafen the member.

Requires the Deafen Members permission.

[src]

Whether to mute the member.

Requires the Mute Members permission.

[src]

Changes the member's nickname. Pass an empty string to reset the nickname.

Requires the Manage Nicknames permission.

[src]

Set the list of roles that the member should have.

Requires the Manage Roles permission to modify.

[src]

The Id of the voice channel to move the member to.

Requires the Move Members permission.

Trait Implementations

impl Clone for EditMember
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for EditMember
[src]

[src]

Formats the value using the given formatter.

impl Default for EditMember
[src]

[src]

Returns the "default value" for a type. Read more