pub struct QueueStats {
pub concurrent_dispatches_count: Option<i64>,
pub effective_execution_rate: Option<f64>,
pub executed_last_minute_count: Option<i64>,
pub oldest_estimated_arrival_time: Option<DateTime<Utc>>,
pub tasks_count: Option<i64>,
}
Expand description
Statistics for a queue.
This type is not used in any activity, and only used as part of another schema.
Fields§
§concurrent_dispatches_count: Option<i64>
Output only. The number of requests that the queue has dispatched but has not received a reply for yet.
effective_execution_rate: Option<f64>
Output only. The current maximum number of tasks per second executed by the queue. The maximum value of this variable is controlled by the RateLimits of the Queue. However, this value could be less to avoid overloading the endpoints tasks in the queue are targeting.
executed_last_minute_count: Option<i64>
Output only. The number of tasks that the queue has dispatched and received a reply for during the last minute. This variable counts both successful and non-successful executions.
oldest_estimated_arrival_time: Option<DateTime<Utc>>
Output only. An estimation of the nearest time in the future where a task in the queue is scheduled to be executed.
tasks_count: Option<i64>
Output only. An estimation of the number of tasks in the queue, that is, the tasks in the queue that haven’t been executed, the tasks in the queue which the queue has dispatched but has not yet received a reply for, and the failed tasks that the queue is retrying.
Trait Implementations§
Source§impl Clone for QueueStats
impl Clone for QueueStats
Source§fn clone(&self) -> QueueStats
fn clone(&self) -> QueueStats
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for QueueStats
impl Debug for QueueStats
Source§impl Default for QueueStats
impl Default for QueueStats
Source§fn default() -> QueueStats
fn default() -> QueueStats
Source§impl<'de> Deserialize<'de> for QueueStats
impl<'de> Deserialize<'de> for QueueStats
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>,
Source§impl Serialize for QueueStats
impl Serialize for QueueStats
impl Part for QueueStats
Auto Trait Implementations§
impl Freeze for QueueStats
impl RefUnwindSafe for QueueStats
impl Send for QueueStats
impl Sync for QueueStats
impl Unpin for QueueStats
impl UnwindSafe for QueueStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more