pub struct RateLimitSettings {
pub rps: Option<i32>,
pub rpm: Option<i32>,
pub rpd: Option<i32>,
}Expand description
Endpoint-wide rate limit settings.
Fields§
§rps: Option<i32>Requests per second.
rpm: Option<i32>Requests per minute.
rpd: Option<i32>Requests per day.
Trait Implementations§
Source§impl Clone for RateLimitSettings
impl Clone for RateLimitSettings
Source§fn clone(&self) -> RateLimitSettings
fn clone(&self) -> RateLimitSettings
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 RateLimitSettings
impl Debug for RateLimitSettings
Source§impl Default for RateLimitSettings
impl Default for RateLimitSettings
Source§fn default() -> RateLimitSettings
fn default() -> RateLimitSettings
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RateLimitSettings
impl RefUnwindSafe for RateLimitSettings
impl Send for RateLimitSettings
impl Sync for RateLimitSettings
impl Unpin for RateLimitSettings
impl UnsafeUnpin for RateLimitSettings
impl UnwindSafe for RateLimitSettings
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