#[non_exhaustive]pub struct TaskQueueMetrics {
pub queues: JsonObject,
pub other: JsonObject,
}Expand description
The tenant’s task queue counts (TenantStepRunQueueMetrics), e.g.
{"queues": {"greet:greet": 1}} as both supported engines answer. The
spec gives queues no value schema, so it stays JSON.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.queues: JsonObjectPer queue (a task’s action id), as the engine sends it.
other: JsonObjectFields this crate does not model, as the engine sent them.
Trait Implementations§
Source§impl Clone for TaskQueueMetrics
impl Clone for TaskQueueMetrics
Source§impl Debug for TaskQueueMetrics
impl Debug for TaskQueueMetrics
Source§impl<'de> Deserialize<'de> for TaskQueueMetrics
impl<'de> Deserialize<'de> for TaskQueueMetrics
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 Forget for TaskQueueMetrics
impl Freeze for TaskQueueMetrics
impl Move for TaskQueueMetrics
impl RefUnwindSafe for TaskQueueMetrics
impl Send for TaskQueueMetrics
impl Sync for TaskQueueMetrics
impl Unpin for TaskQueueMetrics
impl UnsafeUnpin for TaskQueueMetrics
impl UnwindSafe for TaskQueueMetrics
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