pub struct DynamicRateLimitPathRule {
pub path: String,
pub provider: Arc<dyn RateLimitRuleProvider>,
}Fields§
§path: String§provider: Arc<dyn RateLimitRuleProvider>Implementations§
Source§impl DynamicRateLimitPathRule
impl DynamicRateLimitPathRule
pub fn new<P>(path: impl Into<String>, provider: P) -> Selfwhere
P: RateLimitRuleProvider,
Trait Implementations§
Source§impl Clone for DynamicRateLimitPathRule
impl Clone for DynamicRateLimitPathRule
Auto Trait Implementations§
impl !RefUnwindSafe for DynamicRateLimitPathRule
impl !UnwindSafe for DynamicRateLimitPathRule
impl Freeze for DynamicRateLimitPathRule
impl Send for DynamicRateLimitPathRule
impl Sync for DynamicRateLimitPathRule
impl Unpin for DynamicRateLimitPathRule
impl UnsafeUnpin for DynamicRateLimitPathRule
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