Struct discord::builders::EditMember [] [src]

pub struct EditMember(_);

Patch content for the edit_member call.

Methods

impl EditMember
[src]

Merge this builder's contents with another of the same type. Keys in other will override those in self.

This method is intended to be used with deserialized instances. Note that deserialization does not check that the keys are valid for the relevant API call.

discord.edit_server(|b| b
    .merge(serde_json::from_str(r#"{"name":"My Server"}"#)?))

impl EditMember
[src]

Edit the member's nickname. Supply the empty string to remove a nickname.

Edit whether the member is server-muted.

Edit whether the member is server-deafened.

Edit the member's assigned roles.

Move the member to another voice channel.