pub struct RateLimitBundle<T: 'static> {
pub allowed: Node<T>,
pub dropped: Node<T>,
pub status: Node<RateLimitStatus>,
}Expand description
RateLimitBundle data container.
Fields§
§allowed: Node<T>allowed field for allowed.
dropped: Node<T>dropped field for dropped.
status: Node<RateLimitStatus>status field for status.
Auto Trait Implementations§
impl<T> Freeze for RateLimitBundle<T>
impl<T> !RefUnwindSafe for RateLimitBundle<T>
impl<T> !Send for RateLimitBundle<T>
impl<T> !Sync for RateLimitBundle<T>
impl<T> Unpin for RateLimitBundle<T>where
T: Unpin,
impl<T> UnsafeUnpin for RateLimitBundle<T>
impl<T> !UnwindSafe for RateLimitBundle<T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more