pub struct Limiter {
pub read: DefaultDirectRateLimiter,
pub write: DefaultDirectRateLimiter,
pub write_doc_content: DefaultDirectRateLimiter,
pub list_docs: DefaultDirectRateLimiter,
pub read_analytics: DefaultDirectRateLimiter,
}Expand description
The rate limits are slightly lower compared to official docs because I’ve seen “429 Too Many Requests” errors even with these rate limits
Fields§
§read: DefaultDirectRateLimiter§write: DefaultDirectRateLimiter§write_doc_content: DefaultDirectRateLimiter§list_docs: DefaultDirectRateLimiter§read_analytics: DefaultDirectRateLimiterTrait Implementations§
Auto Trait Implementations§
impl !Freeze for Limiter
impl RefUnwindSafe for Limiter
impl Send for Limiter
impl Sync for Limiter
impl Unpin for Limiter
impl UnwindSafe for Limiter
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