aboutsummaryrefslogtreecommitdiff
path: root/src/framework/buckets.rs
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-05-24 07:44:46 -0700
committerZeyla Hellyer <[email protected]>2017-05-24 17:31:48 -0700
commit75749ac3f894a2a41b54287a7e7c9114152c99e4 (patch)
tree7a2e6aa27ce8e37a6a80c95fddf7d14adea1a333 /src/framework/buckets.rs
parentMove Reaction struct into its proper place (diff)
downloadserenity-75749ac3f894a2a41b54287a7e7c9114152c99e4.tar.xz
serenity-75749ac3f894a2a41b54287a7e7c9114152c99e4.zip
Re-order methods/fields in the framework
This will help with readability in the generated documentation.
Diffstat (limited to 'src/framework/buckets.rs')
-rw-r--r--src/framework/buckets.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/framework/buckets.rs b/src/framework/buckets.rs
index 02cd658..eea1253 100644
--- a/src/framework/buckets.rs
+++ b/src/framework/buckets.rs
@@ -10,17 +10,17 @@ pub struct Ratelimit {
#[doc(hidden)]
pub struct MemberRatelimit {
- pub tickets: i32,
pub last_time: i64,
pub set_time: i64,
+ pub tickets: i32,
}
impl Default for MemberRatelimit {
fn default() -> Self {
MemberRatelimit {
- tickets: 0,
last_time: 0,
set_time: 0,
+ tickets: 0,
}
}
}