Struct twilight_http_ratelimiting::Bucket
source · [−]pub struct Bucket { /* private fields */ }
Expand description
A bucket containing ratelimiting information for a Path
.
Implementations
Duration after the Self::started_at
time the bucket will
refresh.
When the bucket’s ratelimit refresh countdown started.
How long until the bucket will refresh.
May return None
if the refresh timer has not been started yet or
the bucket has already refreshed.
Auto Trait Implementations
impl RefUnwindSafe for Bucket
impl UnwindSafe for Bucket
Blanket Implementations
Mutably borrows from an owned value. Read more
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