Struct slack::Channel []

pub struct Channel {
    pub id: String,
    pub name: String,
    pub is_channel: bool,
    pub created: i64,
    pub creator: String,
    pub is_archived: bool,
    pub is_general: bool,
    pub members: Option<Vec<String>>,
    pub topic: Option<Topic>,
    pub purpose: Option<Purpose>,
    pub is_member: bool,
    pub last_read: Option<String>,
    pub unread_count: Option<i64>,
    pub unread_count_display: Option<i64>,
}

The Slack Channel type.

Fields

id: String name: String is_channel: bool created: i64 creator: String is_archived: bool is_general: bool members: Option<Vec<String>> topic: Option<Topic> purpose: Option<Purpose> is_member: bool last_read: Option<String> unread_count: Option<i64> unread_count_display: Option<i64>

Trait Implementations

impl Decodable for Channel

fn decode<__D>(__arg_0: &mut __D) -> Result<Channel, __D::Error> where __D: Decoder

impl Debug for Channel

fn fmt(&self, __arg_0: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.

impl Clone for Channel

fn clone(&self) -> Channel

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more