[−][src]Enum serenity::http::routing::RouteInfo
Variants
AddGroupRecipient
Fields of AddGroupRecipient
group_id: u64 | |
user_id: u64 |
AddMemberRole
Fields of AddMemberRole
guild_id: u64 | |
role_id: u64 | |
user_id: u64 |
GuildBanUser
Fields of GuildBanUser
guild_id: u64 | |
user_id: u64 | |
delete_message_days: Option<u8> | |
reason: Option<&'a str> |
BroadcastTyping
Fields of BroadcastTyping
channel_id: u64 |
CreateChannel
Fields of CreateChannel
guild_id: u64 |
CreateEmoji
Fields of CreateEmoji
guild_id: u64 |
CreateGuild
CreateGuildIntegration
Fields of CreateGuildIntegration
guild_id: u64 | |
integration_id: u64 |
CreateInvite
Fields of CreateInvite
channel_id: u64 |
CreateMessage
Fields of CreateMessage
channel_id: u64 |
CreatePermission
Fields of CreatePermission
channel_id: u64 | |
target_id: u64 |
CreatePrivateChannel
CreateReaction
Fields of CreateReaction
channel_id: u64 | |
message_id: u64 | |
reaction: &'a str |
CreateRole
Fields of CreateRole
guild_id: u64 |
CreateWebhook
Fields of CreateWebhook
channel_id: u64 |
DeleteChannel
Fields of DeleteChannel
channel_id: u64 |
DeleteEmoji
Fields of DeleteEmoji
guild_id: u64 | |
emoji_id: u64 |
DeleteGuild
Fields of DeleteGuild
guild_id: u64 |
DeleteGuildIntegration
Fields of DeleteGuildIntegration
guild_id: u64 | |
integration_id: u64 |
DeleteInvite
Fields of DeleteInvite
code: &'a str |
DeleteMessage
Fields of DeleteMessage
channel_id: u64 | |
message_id: u64 |
DeleteMessages
Fields of DeleteMessages
channel_id: u64 |
DeleteMessageReactions
Fields of DeleteMessageReactions
channel_id: u64 | |
message_id: u64 |
DeletePermission
Fields of DeletePermission
channel_id: u64 | |
target_id: u64 |
DeleteReaction
Fields of DeleteReaction
channel_id: u64 | |
message_id: u64 | |
user: &'a str | |
reaction: &'a str |
DeleteRole
Fields of DeleteRole
guild_id: u64 | |
role_id: u64 |
DeleteWebhook
Fields of DeleteWebhook
webhook_id: u64 |
DeleteWebhookWithToken
Fields of DeleteWebhookWithToken
token: &'a str | |
webhook_id: u64 |
EditChannel
Fields of EditChannel
channel_id: u64 |
EditEmoji
Fields of EditEmoji
guild_id: u64 | |
emoji_id: u64 |
EditGuild
Fields of EditGuild
guild_id: u64 |
EditGuildChannels
Fields of EditGuildChannels
guild_id: u64 |
EditGuildEmbed
Fields of EditGuildEmbed
guild_id: u64 |
EditMember
Fields of EditMember
guild_id: u64 | |
user_id: u64 |
EditMessage
Fields of EditMessage
channel_id: u64 | |
message_id: u64 |
EditNickname
Fields of EditNickname
guild_id: u64 |
EditProfile
EditRole
Fields of EditRole
guild_id: u64 | |
role_id: u64 |
EditWebhook
Fields of EditWebhook
webhook_id: u64 |
EditWebhookWithToken
Fields of EditWebhookWithToken
token: &'a str | |
webhook_id: u64 |
ExecuteWebhook
Fields of ExecuteWebhook
token: &'a str | |
wait: bool | |
webhook_id: u64 |
GetActiveMaintenance
GetAuditLogs
Fields of GetAuditLogs
action_type: Option<u8> | |
before: Option<u64> | |
guild_id: u64 | |
limit: Option<u8> | |
user_id: Option<u64> |
GetBans
Fields of GetBans
guild_id: u64 |
GetBotGateway
GetChannel
Fields of GetChannel
channel_id: u64 |
GetChannelInvites
Fields of GetChannelInvites
channel_id: u64 |
GetChannelWebhooks
Fields of GetChannelWebhooks
channel_id: u64 |
GetChannels
Fields of GetChannels
guild_id: u64 |
GetCurrentApplicationInfo
GetCurrentUser
GetGateway
GetGuild
Fields of GetGuild
guild_id: u64 |
GetGuildEmbed
Fields of GetGuildEmbed
guild_id: u64 |
GetGuildIntegrations
Fields of GetGuildIntegrations
guild_id: u64 |
GetGuildInvites
Fields of GetGuildInvites
guild_id: u64 |
GetGuildMembers
Fields of GetGuildMembers
after: Option<u64> | |
limit: Option<u64> | |
guild_id: u64 |
GetGuildPruneCount
Fields of GetGuildPruneCount
days: u64 | |
guild_id: u64 |
GetGuildRegions
Fields of GetGuildRegions
guild_id: u64 |
GetGuildRoles
Fields of GetGuildRoles
guild_id: u64 |
GetGuildVanityUrl
Fields of GetGuildVanityUrl
guild_id: u64 |
GetGuildWebhooks
Fields of GetGuildWebhooks
guild_id: u64 |
GetGuilds
Fields of GetGuilds
after: Option<u64> | |
before: Option<u64> | |
limit: u64 |
GetInvite
Fields of GetInvite
code: &'a str | |
stats: bool |
GetMember
Fields of GetMember
guild_id: u64 | |
user_id: u64 |
GetMessage
Fields of GetMessage
channel_id: u64 | |
message_id: u64 |
GetMessages
Fields of GetMessages
channel_id: u64 | |
query: String |
GetPins
Fields of GetPins
channel_id: u64 |
GetReactionUsers
Fields of GetReactionUsers
after: Option<u64> | |
channel_id: u64 | |
limit: u8 | |
message_id: u64 | |
reaction: String |
GetUnresolvedIncidents
GetUpcomingMaintenances
GetUser
Fields of GetUser
user_id: u64 |
GetUserDmChannels
GetVoiceRegions
GetWebhook
Fields of GetWebhook
webhook_id: u64 |
GetWebhookWithToken
Fields of GetWebhookWithToken
token: &'a str | |
webhook_id: u64 |
KickMember
Fields of KickMember
guild_id: u64 | |
user_id: u64 |
LeaveGroup
Fields of LeaveGroup
group_id: u64 |
LeaveGuild
Fields of LeaveGuild
guild_id: u64 |
RemoveGroupRecipient
Fields of RemoveGroupRecipient
group_id: u64 | |
user_id: u64 |
PinMessage
Fields of PinMessage
channel_id: u64 | |
message_id: u64 |
RemoveBan
Fields of RemoveBan
guild_id: u64 | |
user_id: u64 |
RemoveMemberRole
Fields of RemoveMemberRole
guild_id: u64 | |
role_id: u64 | |
user_id: u64 |
StartGuildPrune
Fields of StartGuildPrune
days: u64 | |
guild_id: u64 |
StartIntegrationSync
Fields of StartIntegrationSync
guild_id: u64 | |
integration_id: u64 |
StatusIncidentsUnresolved
StatusMaintenancesActive
StatusMaintenancesUpcoming
UnpinMessage
Fields of UnpinMessage
channel_id: u64 | |
message_id: u64 |
Methods
impl<'a> RouteInfo<'a>
[src]
impl<'a> RouteInfo<'a>
pub fn deconstruct(&self) -> (LightMethod, Route, Cow<str>)
[src]
pub fn deconstruct(&self) -> (LightMethod, Route, Cow<str>)
Trait Implementations
impl<'a> Clone for RouteInfo<'a>
[src]
impl<'a> Clone for RouteInfo<'a>
fn clone(&self) -> RouteInfo<'a>
[src]
fn clone(&self) -> RouteInfo<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<'a> Debug for RouteInfo<'a>
[src]
impl<'a> Debug for RouteInfo<'a>
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
type Owned = T
fn to_owned(&self) -> T
[src]
fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
fn clone_into(&self, target: &mut T)
[src]
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
🔬 This is a nightly-only experimental API. (
try_from
)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
🔬 This is a nightly-only experimental API. (
try_from
)Performs the conversion.
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Gets the TypeId
of self
. Read more
impl<T> Erased for T
impl<T> Erased for T
impl<T> Typeable for T where
T: Any,
impl<T> Typeable for T where
T: Any,
impl<T> DebugAny for T where
T: Any + Debug,
[src]
impl<T> DebugAny for T where
T: Any + Debug,
impl<T> CloneAny for T where
T: Clone + Any,
[src]
impl<T> CloneAny for T where
T: Clone + Any,
fn clone_any(&self) -> Box<dyn CloneAny + 'static>
[src]
fn clone_any(&self) -> Box<dyn CloneAny + 'static>
fn clone_any_send(&self) -> Box<dyn CloneAny + 'static + Send> where
T: Send,
[src]
fn clone_any_send(&self) -> Box<dyn CloneAny + 'static + Send> where
T: Send,
fn clone_any_sync(&self) -> Box<dyn CloneAny + 'static + Sync> where
T: Sync,
[src]
fn clone_any_sync(&self) -> Box<dyn CloneAny + 'static + Sync> where
T: Sync,
fn clone_any_send_sync(&self) -> Box<dyn CloneAny + 'static + Sync + Send> where
T: Send + Sync,
[src]
fn clone_any_send_sync(&self) -> Box<dyn CloneAny + 'static + Sync + Send> where
T: Send + Sync,
impl<T> UnsafeAny for T where
T: Any,
impl<T> UnsafeAny for T where
T: Any,