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

pub trait ModifyGuildRoleSelfBuilder {
    pub fn guild_id(self, guild_id: impl Into<u64>) -> Self;
pub fn role(self, role: impl Into<Role>) -> Self;
pub fn modify_name(self, modify_name: impl Into<bool>) -> Self;
pub fn modify_color(self, modify_color: impl Into<bool>) -> Self;
pub fn modify_hoist(self, modify_hoist: impl Into<bool>) -> Self;
pub fn modify_pingable(self, modify_pingable: impl Into<bool>) -> 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 role(self, role: impl Into<Role>) -> Self[src]

Set the role field of this struct.

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

Set the modify_name field of this struct.

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

Set the modify_color field of this struct.

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

Set the modify_hoist field of this struct.

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

Set the modify_pingable field of this struct.

Loading content...

Implementors

impl ModifyGuildRoleSelfBuilder for ModifyGuildRole[src]

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

Set the guild_id field of this struct.

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

Set the role field of this struct.

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

Set the modify_name field of this struct.

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

Set the modify_color field of this struct.

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

Set the modify_hoist field of this struct.

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

Set the modify_pingable field of this struct.

Loading content...