pub struct RedisClients {
pub project_configs: AsyncRedisClient,
pub cardinality: AsyncRedisClient,
pub quotas: AsyncRedisClient,
}
Expand description
A collection of Redis clients used by Relay for different purposes.
This struct manages separate Redis connection clients for different functionalities within the Relay system, such as project configurations, cardinality limits, and rate limiting.
Fields§
§project_configs: AsyncRedisClient
The client used for project configurations
cardinality: AsyncRedisClient
The client used for cardinality limits.
quotas: AsyncRedisClient
The client used for rate limiting/quotas.
Trait Implementations§
Source§impl Clone for RedisClients
impl Clone for RedisClients
Source§fn clone(&self) -> RedisClients
fn clone(&self) -> RedisClients
Returns a copy 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 RedisClients
impl !RefUnwindSafe for RedisClients
impl Send for RedisClients
impl Sync for RedisClients
impl Unpin for RedisClients
impl !UnwindSafe for RedisClients
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