pub struct TurnQueueStatus {
pub session_id: String,
pub queue_depth: usize,
pub previews: Vec<String>,
pub entry_ids: Vec<String>,
pub queued_for_secs: Vec<u64>,
pub dropped_total: usize,
}Expand description
Authoritative queued-message snapshot published by the service.
Fields§
§session_id: StringSession that owns the queue.
queue_depth: usizeNumber of messages waiting for dispatch.
previews: Vec<String>Display previews for the oldest queued messages, oldest first, up to
MAX_QUEUE_STATUS_PREVIEWS.
entry_ids: Vec<String>Entry identity tokens matching previews one-to-one (when the service
supplies them). Absent or shorter (legacy services) means the client
falls back to newest-first take-latest and hides per-row actions.
queued_for_secs: Vec<u64>Seconds since each entry was queued, oldest first, matching previews
one-to-one. Absent (legacy services) hides the elapsed-time column.
dropped_total: usizeTotal oldest messages discarded by the queue cap so far.
Trait Implementations§
Source§impl Clone for TurnQueueStatus
impl Clone for TurnQueueStatus
Source§impl Debug for TurnQueueStatus
impl Debug for TurnQueueStatus
Source§impl<'de> Deserialize<'de> for TurnQueueStatus
impl<'de> Deserialize<'de> for TurnQueueStatus
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
impl Eq for TurnQueueStatus
Source§impl PartialEq for TurnQueueStatus
impl PartialEq for TurnQueueStatus
Source§impl Serialize for TurnQueueStatus
impl Serialize for TurnQueueStatus
impl StructuralPartialEq for TurnQueueStatus
Auto Trait Implementations§
impl Forget for TurnQueueStatus
impl Freeze for TurnQueueStatus
impl RefUnwindSafe for TurnQueueStatus
impl Send for TurnQueueStatus
impl Sync for TurnQueueStatus
impl Unpin for TurnQueueStatus
impl UnsafeUnpin for TurnQueueStatus
impl UnwindSafe for TurnQueueStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.