pub struct QueueSnapshotResult {
pub item_orders: Option<Vec<i64>>,
pub items: Vec<QueuePendingItems>,
pub steering_message_orders: Option<Vec<i64>>,
pub steering_messages: Vec<String>,
}Expand description
Internal snapshot of native queue state for local session orchestration.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§item_orders: Option<Vec<i64>>Insertion orders for queued items, aligned with items.
items: Vec<QueuePendingItems>User-facing pending items in FIFO order.
steering_message_orders: Option<Vec<i64>>Insertion orders for immediate steering messages, aligned with steeringMessages.
steering_messages: Vec<String>Immediate steering messages waiting for an active turn.
Trait Implementations§
Source§impl Clone for QueueSnapshotResult
impl Clone for QueueSnapshotResult
Source§fn clone(&self) -> QueueSnapshotResult
fn clone(&self) -> QueueSnapshotResult
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 QueueSnapshotResult
impl Debug for QueueSnapshotResult
Source§impl Default for QueueSnapshotResult
impl Default for QueueSnapshotResult
Source§fn default() -> QueueSnapshotResult
fn default() -> QueueSnapshotResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for QueueSnapshotResult
impl<'de> Deserialize<'de> for QueueSnapshotResult
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 QueueSnapshotResult
impl RefUnwindSafe for QueueSnapshotResult
impl Send for QueueSnapshotResult
impl Sync for QueueSnapshotResult
impl Unpin for QueueSnapshotResult
impl UnsafeUnpin for QueueSnapshotResult
impl UnwindSafe for QueueSnapshotResult
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