pub struct RateLimitingPerEndpoint {
pub max_requests: u32,
pub window_secs: u64,
}Expand description
Rate limiting per endpoint
Reason: Included for forward compatibility with per-endpoint rate limiting. Currently unused but provided for API completeness in security configuration.
Fields§
§max_requests: u32Maximum requests per window
window_secs: u64Time window in seconds
Implementations§
Trait Implementations§
Source§impl Clone for RateLimitingPerEndpoint
impl Clone for RateLimitingPerEndpoint
Source§fn clone(&self) -> RateLimitingPerEndpoint
fn clone(&self) -> RateLimitingPerEndpoint
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 moreSource§impl Debug for RateLimitingPerEndpoint
impl Debug for RateLimitingPerEndpoint
Source§impl<'de> Deserialize<'de> for RateLimitingPerEndpoint
impl<'de> Deserialize<'de> for RateLimitingPerEndpoint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RateLimitingPerEndpoint
impl RefUnwindSafe for RateLimitingPerEndpoint
impl Send for RateLimitingPerEndpoint
impl Sync for RateLimitingPerEndpoint
impl Unpin for RateLimitingPerEndpoint
impl UnwindSafe for RateLimitingPerEndpoint
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