pub struct RateConfig {
pub limits: HashMap<String, RateLimit>,
}Fields§
§limits: HashMap<String, RateLimit>Map from tool pattern (e.g. “tool:github:*”) to rate limit
Trait Implementations§
Source§impl Clone for RateConfig
impl Clone for RateConfig
Source§fn clone(&self) -> RateConfig
fn clone(&self) -> RateConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RateConfig
impl RefUnwindSafe for RateConfig
impl Send for RateConfig
impl Sync for RateConfig
impl Unpin for RateConfig
impl UnsafeUnpin for RateConfig
impl UnwindSafe for RateConfig
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