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

pub struct EditMember(pub VecMap<&'static str, Value>);

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

Methods

impl EditMember
[src]

Whether to deafen the member.

Requires the Deafen Members permission.

Whether to mute the member.

Requires the Mute Members permission.

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

Requires the Manage Nicknames permission.

Set the list of roles that the member should have.

Requires the Manage Roles permission to modify.

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

Requires the Move Members permission.

Trait Implementations

impl Clone for EditMember
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for EditMember
[src]

Formats the value using the given formatter. Read more

impl Default for EditMember
[src]

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

Auto Trait Implementations

impl Send for EditMember

impl Sync for EditMember