aboutsummaryrefslogtreecommitdiff
path: root/src/http/ratelimiting.rs
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2018-01-31 14:56:12 -0800
committerZeyla Hellyer <[email protected]>2018-01-31 14:56:56 -0800
commit8578d5fe6e3bdc2842cda9417c242169f93b1a99 (patch)
treeba5ce74c82510f5d3b6b490b09eb5e6d2de77ca1 /src/http/ratelimiting.rs
parentAdd create message builder example (#268) (diff)
downloadserenity-8578d5fe6e3bdc2842cda9417c242169f93b1a99.tar.xz
serenity-8578d5fe6e3bdc2842cda9417c242169f93b1a99.zip
Fix broken docs links caused by model mod changes
Fix broken links caused by the `model` module changes in v0.5.0, which split up the module into sub-modules for better organization.
Diffstat (limited to 'src/http/ratelimiting.rs')
-rw-r--r--src/http/ratelimiting.rs26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/http/ratelimiting.rs b/src/http/ratelimiting.rs
index 498dc7a..ca269e3 100644
--- a/src/http/ratelimiting.rs
+++ b/src/http/ratelimiting.rs
@@ -104,31 +104,31 @@ pub enum Route {
///
/// The data is the relevant [`ChannelId`].
///
- /// [`ChannelId`]: ../../model/struct.ChannelId.html
+ /// [`ChannelId`]: ../../model/id/struct.ChannelId.html
ChannelsId(u64),
/// Route for the `/channels/:channel_id/invites` path.
///
/// The data is the relevant [`ChannelId`].
///
- /// [`ChannelId`]: ../../model/struct.ChannelId.html
+ /// [`ChannelId`]: ../../model/id/struct.ChannelId.html
ChannelsIdInvites(u64),
/// Route for the `/channels/:channel_id/messages` path.
///
/// The data is the relevant [`ChannelId`].
///
- /// [`ChannelId`]: ../../model/struct.ChannelId.html
+ /// [`ChannelId`]: ../../model/id/struct.ChannelId.html
ChannelsIdMessages(u64),
/// Route for the `/channels/:channel_id/messages/bulk-delete` path.
///
/// The data is the relevant [`ChannelId`].
///
- /// [`ChannelId`]: ../../model/struct.ChannelId.html
+ /// [`ChannelId`]: ../../model/id/struct.ChannelId.html
ChannelsIdMessagesBulkDelete(u64),
/// Route for the `/channels/:channel_id/messages/:message_id` path.
///
/// The data is the relevant [`ChannelId`].
///
- /// [`ChannelId`]: ../../model/struct.ChannelId.html
+ /// [`ChannelId`]: ../../model/id/struct.ChannelId.html
// This route is a unique case. The ratelimit for message _deletions_ is
// different than the overall route ratelimit.
//
@@ -143,14 +143,14 @@ pub enum Route {
///
/// The data is the relevant [`ChannelId`].
///
- /// [`ChannelId`]: ../../model/struct.ChannelId.html
+ /// [`ChannelId`]: ../../model/id/struct.ChannelId.html
ChannelsIdMessagesIdAck(u64),
/// Route for the `/channels/:channel_id/messages/:message_id/reactions`
/// path.
///
/// The data is the relevant [`ChannelId`].
///
- /// [`ChannelId`]: ../../model/struct.ChannelId.html
+ /// [`ChannelId`]: ../../model/id/struct.ChannelId.html
ChannelsIdMessagesIdReactions(u64),
/// Route for the
/// `/channels/:channel_id/messages/:message_id/reactions/:reaction/@me`
@@ -158,37 +158,37 @@ pub enum Route {
///
/// The data is the relevant [`ChannelId`].
///
- /// [`ChannelId`]: ../../model/struct.ChannelId.html
+ /// [`ChannelId`]: ../../model/id/struct.ChannelId.html
ChannelsIdMessagesIdReactionsUserIdType(u64),
/// Route for the `/channels/:channel_id/permissions/:target_id` path.
///
/// The data is the relevant [`ChannelId`].
///
- /// [`ChannelId`]: ../../model/struct.ChannelId.html
+ /// [`ChannelId`]: ../../model/id/struct.ChannelId.html
ChannelsIdPermissionsOverwriteId(u64),
/// Route for the `/channels/:channel_id/pins` path.
///
/// The data is the relevant [`ChannelId`].
///
- /// [`ChannelId`]: ../../model/struct.ChannelId.html
+ /// [`ChannelId`]: ../../model/id/struct.ChannelId.html
ChannelsIdPins(u64),
/// Route for the `/channels/:channel_id/pins/:message_id` path.
///
/// The data is the relevant [`ChannelId`].
///
- /// [`ChannelId`]: ../../model/struct.ChannelId.html
+ /// [`ChannelId`]: ../../model/id/struct.ChannelId.html
ChannelsIdPinsMessageId(u64),
/// Route for the `/channels/:channel_id/typing` path.
///
/// The data is the relevant [`ChannelId`].
///
- /// [`ChannelId`]: ../../model/struct.ChannelId.html
+ /// [`ChannelId`]: ../../model/id/struct.ChannelId.html
ChannelsIdTyping(u64),
/// Route for the `/channels/:channel_id/webhooks` path.
///
/// The data is the relevant [`ChannelId`].
///
- /// [`ChannelId`]: ../../model/struct.ChannelId.html
+ /// [`ChannelId`]: ../../model/id/struct.ChannelId.html
ChannelsIdWebhooks(u64),
/// Route for the `/gateway` path.
Gateway,