Enum serenity::http::routing::RouteInfo[][src]

pub enum RouteInfo<'a> {
    AddGroupRecipient {
        group_id: u64,
        user_id: u64,
    },
    AddMemberRole {
        guild_id: u64,
        role_id: u64,
        user_id: u64,
    },
    GuildBanUser {
        guild_id: u64,
        user_id: u64,
        delete_message_days: Option<u8>,
        reason: Option<&'a str>,
    },
    BroadcastTyping {
        channel_id: u64,
    },
    CreateChannel {
        guild_id: u64,
    },
    CreateEmoji {
        guild_id: u64,
    },
    CreateGuild,
    CreateGuildIntegration {
        guild_id: u64,
        integration_id: u64,
    },
    CreateInvite {
        channel_id: u64,
    },
    CreateMessage {
        channel_id: u64,
    },
    CreatePermission {
        channel_id: u64,
        target_id: u64,
    },
    CreatePrivateChannel,
    CreateReaction {
        channel_id: u64,
        message_id: u64,
        reaction: &'a str,
    },
    CreateRole {
        guild_id: u64,
    },
    CreateWebhook {
        channel_id: u64,
    },
    DeleteChannel {
        channel_id: u64,
    },
    DeleteEmoji {
        guild_id: u64,
        emoji_id: u64,
    },
    DeleteGuild {
        guild_id: u64,
    },
    DeleteGuildIntegration {
        guild_id: u64,
        integration_id: u64,
    },
    DeleteInvite {
        code: &'a str,
    },
    DeleteMessage {
        channel_id: u64,
        message_id: u64,
    },
    DeleteMessages {
        channel_id: u64,
    },
    DeleteMessageReactions {
        channel_id: u64,
        message_id: u64,
    },
    DeletePermission {
        channel_id: u64,
        target_id: u64,
    },
    DeleteReaction {
        channel_id: u64,
        message_id: u64,
        user: &'a str,
        reaction: &'a str,
    },
    DeleteRole {
        guild_id: u64,
        role_id: u64,
    },
    DeleteWebhook {
        webhook_id: u64,
    },
    DeleteWebhookWithToken {
        token: &'a str,
        webhook_id: u64,
    },
    EditChannel {
        channel_id: u64,
    },
    EditEmoji {
        guild_id: u64,
        emoji_id: u64,
    },
    EditGuild {
        guild_id: u64,
    },
    EditGuildChannels {
        guild_id: u64,
    },
    EditGuildEmbed {
        guild_id: u64,
    },
    EditMember {
        guild_id: u64,
        user_id: u64,
    },
    EditMessage {
        channel_id: u64,
        message_id: u64,
    },
    EditNickname {
        guild_id: u64,
    },
    EditProfile,
    EditRole {
        guild_id: u64,
        role_id: u64,
    },
    EditWebhook {
        webhook_id: u64,
    },
    EditWebhookWithToken {
        token: &'a str,
        webhook_id: u64,
    },
    ExecuteWebhook {
        token: &'a str,
        wait: bool,
        webhook_id: u64,
    },
    GetActiveMaintenance,
    GetAuditLogs {
        action_type: Option<u8>,
        before: Option<u64>,
        guild_id: u64,
        limit: Option<u8>,
        user_id: Option<u64>,
    },
    GetBans {
        guild_id: u64,
    },
    GetBotGateway,
    GetChannel {
        channel_id: u64,
    },
    GetChannelInvites {
        channel_id: u64,
    },
    GetChannelWebhooks {
        channel_id: u64,
    },
    GetChannels {
        guild_id: u64,
    },
    GetCurrentApplicationInfo,
    GetCurrentUser,
    GetGateway,
    GetGuild {
        guild_id: u64,
    },
    GetGuildEmbed {
        guild_id: u64,
    },
    GetGuildIntegrations {
        guild_id: u64,
    },
    GetGuildInvites {
        guild_id: u64,
    },
    GetGuildMembers {
        after: Option<u64>,
        limit: Option<u64>,
        guild_id: u64,
    },
    GetGuildPruneCount {
        days: u64,
        guild_id: u64,
    },
    GetGuildRegions {
        guild_id: u64,
    },
    GetGuildRoles {
        guild_id: u64,
    },
    GetGuildVanityUrl {
        guild_id: u64,
    },
    GetGuildWebhooks {
        guild_id: u64,
    },
    GetGuilds {
        after: Option<u64>,
        before: Option<u64>,
        limit: u64,
    },
    GetInvite {
        code: &'a str,
        stats: bool,
    },
    GetMember {
        guild_id: u64,
        user_id: u64,
    },
    GetMessage {
        channel_id: u64,
        message_id: u64,
    },
    GetMessages {
        channel_id: u64,
        query: String,
    },
    GetPins {
        channel_id: u64,
    },
    GetReactionUsers {
        after: Option<u64>,
        channel_id: u64,
        limit: u8,
        message_id: u64,
        reaction: String,
    },
    GetUnresolvedIncidents,
    GetUpcomingMaintenances,
    GetUser {
        user_id: u64,
    },
    GetUserDmChannels,
    GetVoiceRegions,
    GetWebhook {
        webhook_id: u64,
    },
    GetWebhookWithToken {
        token: &'a str,
        webhook_id: u64,
    },
    KickMember {
        guild_id: u64,
        user_id: u64,
    },
    LeaveGroup {
        group_id: u64,
    },
    LeaveGuild {
        guild_id: u64,
    },
    RemoveGroupRecipient {
        group_id: u64,
        user_id: u64,
    },
    PinMessage {
        channel_id: u64,
        message_id: u64,
    },
    RemoveBan {
        guild_id: u64,
        user_id: u64,
    },
    RemoveMemberRole {
        guild_id: u64,
        role_id: u64,
        user_id: u64,
    },
    StartGuildPrune {
        days: u64,
        guild_id: u64,
    },
    StartIntegrationSync {
        guild_id: u64,
        integration_id: u64,
    },
    StatusIncidentsUnresolved,
    StatusMaintenancesActive,
    StatusMaintenancesUpcoming,
    UnpinMessage {
        channel_id: u64,
        message_id: u64,
    },
}

Variants

Fields of AddGroupRecipient

Fields of AddMemberRole

Fields of GuildBanUser

Fields of BroadcastTyping

Fields of CreateChannel

Fields of CreateEmoji

Fields of CreateGuildIntegration

Fields of CreateInvite

Fields of CreateMessage

Fields of CreatePermission

Fields of CreateReaction

Fields of CreateRole

Fields of CreateWebhook

Fields of DeleteChannel

Fields of DeleteEmoji

Fields of DeleteGuild

Fields of DeleteGuildIntegration

Fields of DeleteInvite

Fields of DeleteMessage

Fields of DeleteMessages

Fields of DeleteMessageReactions

Fields of DeletePermission

Fields of DeleteReaction

Fields of DeleteRole

Fields of DeleteWebhook

Fields of DeleteWebhookWithToken

Fields of EditChannel

Fields of EditEmoji

Fields of EditGuild

Fields of EditGuildChannels

Fields of EditGuildEmbed

Fields of EditMember

Fields of EditMessage

Fields of EditNickname

Fields of EditRole

Fields of EditWebhook

Fields of EditWebhookWithToken

Fields of ExecuteWebhook

Fields of GetAuditLogs

Fields of GetBans

Fields of GetChannel

Fields of GetChannelInvites

Fields of GetChannelWebhooks

Fields of GetChannels

Fields of GetGuild

Fields of GetGuildEmbed

Fields of GetGuildIntegrations

Fields of GetGuildInvites

Fields of GetGuildMembers

Fields of GetGuildPruneCount

Fields of GetGuildRegions

Fields of GetGuildRoles

Fields of GetGuildVanityUrl

Fields of GetGuildWebhooks

Fields of GetGuilds

Fields of GetInvite

Fields of GetMember

Fields of GetMessage

Fields of GetMessages

Fields of GetPins

Fields of GetReactionUsers

Fields of GetUser

Fields of GetWebhook

Fields of GetWebhookWithToken

Fields of KickMember

Fields of LeaveGroup

Fields of LeaveGuild

Fields of RemoveGroupRecipient

Fields of PinMessage

Fields of RemoveBan

Fields of RemoveMemberRole

Fields of StartGuildPrune

Fields of StartIntegrationSync

Fields of UnpinMessage

Methods

impl<'a> RouteInfo<'a>
[src]

Trait Implementations

impl<'a> Clone for RouteInfo<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Debug for RouteInfo<'a>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for RouteInfo<'a>

impl<'a> Sync for RouteInfo<'a>