pub struct ThrottleStepDef {
pub max_requests: usize,
pub period_ms: u64,
pub strategy: ThrottleStrategyDef,
pub steps: Vec<DeclarativeStep>,
}Fields§
§max_requests: usize§period_ms: u64§strategy: ThrottleStrategyDef§steps: Vec<DeclarativeStep>Trait Implementations§
Source§impl Clone for ThrottleStepDef
impl Clone for ThrottleStepDef
Source§fn clone(&self) -> ThrottleStepDef
fn clone(&self) -> ThrottleStepDef
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 ThrottleStepDef
impl Debug for ThrottleStepDef
Source§impl PartialEq for ThrottleStepDef
impl PartialEq for ThrottleStepDef
impl StructuralPartialEq for ThrottleStepDef
Auto Trait Implementations§
impl Freeze for ThrottleStepDef
impl RefUnwindSafe for ThrottleStepDef
impl Send for ThrottleStepDef
impl Sync for ThrottleStepDef
impl Unpin for ThrottleStepDef
impl UnsafeUnpin for ThrottleStepDef
impl UnwindSafe for ThrottleStepDef
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