Trait harmony_rust_sdk::client::api::chat::permissions::ManageUserRolesSelfBuilder[][src]

pub trait ManageUserRolesSelfBuilder {
    fn guild_id(self, guild_id: impl Into<u64>) -> Self;
fn user_id(self, user_id: impl Into<u64>) -> Self;
fn give_role_ids(self, give_role_ids: impl Into<Vec<u64>>) -> Self;
fn take_role_ids(self, take_role_ids: impl Into<Vec<u64>>) -> Self; }

Builder trait for #name.

Required methods

fn guild_id(self, guild_id: impl Into<u64>) -> Self[src]

Set the guild_id field of this struct.

fn user_id(self, user_id: impl Into<u64>) -> Self[src]

Set the user_id field of this struct.

fn give_role_ids(self, give_role_ids: impl Into<Vec<u64>>) -> Self[src]

Set the give_role_ids field of this struct.

fn take_role_ids(self, take_role_ids: impl Into<Vec<u64>>) -> Self[src]

Set the take_role_ids field of this struct.

Loading content...

Implementors

impl ManageUserRolesSelfBuilder for ManageUserRoles[src]

fn guild_id(self, guild_id: impl Into<u64>) -> Self[src]

Set the guild_id field of this struct.

fn user_id(self, user_id: impl Into<u64>) -> Self[src]

Set the user_id field of this struct.

fn give_role_ids(self, give_role_ids: impl Into<Vec<u64>>) -> Self[src]

Set the give_role_ids field of this struct.

fn take_role_ids(self, take_role_ids: impl Into<Vec<u64>>) -> Self[src]

Set the take_role_ids field of this struct.

Loading content...