pub struct LimitConfig {
pub tools: String,
pub max_calls: u32,
pub window_secs: u64,
}Fields§
§tools: String§max_calls: u32§window_secs: u64Trait Implementations§
Source§impl Clone for LimitConfig
impl Clone for LimitConfig
Source§fn clone(&self) -> LimitConfig
fn clone(&self) -> LimitConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LimitConfig
impl Debug for LimitConfig
Source§impl Default for LimitConfig
impl Default for LimitConfig
Source§fn default() -> LimitConfig
fn default() -> LimitConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for LimitConfig
impl PartialEq for LimitConfig
impl StructuralPartialEq for LimitConfig
Auto Trait Implementations§
impl Freeze for LimitConfig
impl RefUnwindSafe for LimitConfig
impl Send for LimitConfig
impl Sync for LimitConfig
impl Unpin for LimitConfig
impl UnsafeUnpin for LimitConfig
impl UnwindSafe for LimitConfig
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