Struct lemmy_utils::rate_limit::RateLimit [−][src]
pub struct RateLimit {
pub rate_limiter: Arc<Mutex<RateLimiter>>,
pub rate_limit_config: RateLimitConfig,
}
Fields
rate_limiter: Arc<Mutex<RateLimiter>>
rate_limit_config: RateLimitConfig
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for RateLimit
impl !UnwindSafe for RateLimit
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self
to an expression for Diesel’s query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
Convert &self
to an expression for Diesel’s query builder. Read more
pub fn vzip(self) -> V
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