Trait harmony_rust_sdk::client::api::chat::channel::CreateChannelSelfBuilder[][src]

pub trait CreateChannelSelfBuilder {
    fn guild_id(self, guild_id: impl Into<u64>) -> Self;
fn channel_name(self, channel_name: impl Into<String>) -> Self;
fn channel_place(self, channel_place: impl Into<Place>) -> Self;
fn metadata(self, metadata: impl Into<Option<Metadata>>) -> Self;
fn is_category(self, is_category: 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 channel_name(self, channel_name: impl Into<String>) -> Self[src]

Set the channel_name field of this struct.

fn channel_place(self, channel_place: impl Into<Place>) -> Self[src]

Set the channel_place field of this struct.

fn metadata(self, metadata: impl Into<Option<Metadata>>) -> Self[src]

Set the metadata field of this struct.

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

Set the is_category field of this struct.

Loading content...

Implementors

impl CreateChannelSelfBuilder for CreateChannel[src]

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

Set the guild_id field of this struct.

fn channel_name(self, channel_name: impl Into<String>) -> Self[src]

Set the channel_name field of this struct.

fn channel_place(self, channel_place: impl Into<Place>) -> Self[src]

Set the channel_place field of this struct.

fn metadata(self, metadata: impl Into<Option<Metadata>>) -> Self[src]

Set the metadata field of this struct.

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

Set the is_category field of this struct.

Loading content...