pub struct BucketKey {
pub identity: String,
pub tool: Option<String>,
}Expand description
Composite key for rate-limit buckets. Covers per-identity and per-identity-per-tool granularity.
Fields§
§identity: String§tool: Option<String>Implementations§
Trait Implementations§
impl Eq for BucketKey
impl StructuralPartialEq for BucketKey
Auto Trait Implementations§
impl Freeze for BucketKey
impl RefUnwindSafe for BucketKey
impl Send for BucketKey
impl Sync for BucketKey
impl Unpin for BucketKey
impl UnsafeUnpin for BucketKey
impl UnwindSafe for BucketKey
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