pub struct QueueThrottleInfo {
pub window_ms: i64,
pub limit: u64,
}Expand description
Throttle configuration for a queue.
Fields§
§window_ms: i64Throttle window in milliseconds.
limit: u64Maximum number of jobs allowed within the window.
Trait Implementations§
Source§impl Clone for QueueThrottleInfo
impl Clone for QueueThrottleInfo
Source§fn clone(&self) -> QueueThrottleInfo
fn clone(&self) -> QueueThrottleInfo
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 QueueThrottleInfo
impl Debug for QueueThrottleInfo
Source§impl<'de> Deserialize<'de> for QueueThrottleInfo
impl<'de> Deserialize<'de> for QueueThrottleInfo
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 QueueThrottleInfo
impl RefUnwindSafe for QueueThrottleInfo
impl Send for QueueThrottleInfo
impl Sync for QueueThrottleInfo
impl Unpin for QueueThrottleInfo
impl UnsafeUnpin for QueueThrottleInfo
impl UnwindSafe for QueueThrottleInfo
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