Struct discord::model::Group [] [src]

pub struct Group {
    pub channel_id: ChannelId,
    pub icon: Option<String>,
    pub last_message_id: Option<MessageId>,
    pub last_pin_timestamp: Option<DateTime<FixedOffset>>,
    pub name: Option<String>,
    pub owner_id: UserId,
    pub recipients: Vec<User>,
    // some fields omitted
}

A group channel, potentially including other users, separate from a server.

Fields

Methods

impl Group
[src]

Get this group's name, building a default if needed

Returns the formatted URL of the group's icon.

Returns None if the group does not have an icon.

Trait Implementations

impl Debug for Group
[src]

Formats the value using the given formatter.

impl Clone for Group
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more