Struct discord_sdk::activity::ActivityInvite[][src]

pub struct ActivityInvite {
    pub user: User,
    pub activity: InviteActivity,
    pub kind: ActivityActionKind,
    pub channel_id: Snowflake,
    pub message_id: Snowflake,
}

Fields

user: User

The user that invited the current user to the activity

activity: InviteActivity

The activity the invite is for

kind: ActivityActionKind

The kind of activity the invite is for

channel_id: Snowflake

I think this is the unique identifier for the channel the invite was sent to, which is (always?) the private channel between the 2 users

message_id: Snowflake

The unique message identifier for the invite

Trait Implementations

Performs the conversion.

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more