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

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

Builder trait for #name.

Required methods

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

Set the guild_id field of this struct.

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

Set the user_id field of this struct.

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

Set the give_role_ids field of this struct.

pub 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]

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

Set the guild_id field of this struct.

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

Set the user_id field of this struct.

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

Set the give_role_ids field of this struct.

pub 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...