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

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

Set the role field of this struct.

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

Set the modify_name field of this struct.

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

Set the modify_color field of this struct.

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

Set the modify_hoist field of this struct.

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]

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

Set the guild_id field of this struct.

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

Set the role field of this struct.

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

Set the modify_name field of this struct.

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

Set the modify_color field of this struct.

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

Set the modify_hoist field of this struct.

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

Set the modify_pingable field of this struct.

Loading content...