pub struct RateLimiterConfig {
pub enabled: bool,
pub max_get_per_second_per_facility: f64,
pub max_get_per_second_integrator: f64,
pub max_concurrent_get_per_facility: usize,
pub max_concurrent_get_integrator: usize,
pub max_retries: usize,
}Fields§
§enabled: bool§max_get_per_second_per_facility: f64§max_get_per_second_integrator: f64§max_concurrent_get_per_facility: usize§max_concurrent_get_integrator: usize§max_retries: usizeTrait Implementations§
Source§impl Clone for RateLimiterConfig
impl Clone for RateLimiterConfig
Source§fn clone(&self) -> RateLimiterConfig
fn clone(&self) -> RateLimiterConfig
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 RateLimiterConfig
impl RefUnwindSafe for RateLimiterConfig
impl Send for RateLimiterConfig
impl Sync for RateLimiterConfig
impl Unpin for RateLimiterConfig
impl UnsafeUnpin for RateLimiterConfig
impl UnwindSafe for RateLimiterConfig
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