pub struct SessionsPollSpawnedSessionsRequest {
pub cursor: Option<String>,
pub wait_ms: Option<i32>,
}Expand description
Cursor and optional long-poll wait for polling runtime-spawned sessions.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§cursor: Option<String>Opaque cursor returned by a previous poll. Omit on the first call to receive any spawn events buffered since the runtime started.
wait_ms: Option<i32>Milliseconds to wait for new spawn events when the cursor is at the tail. 0 (default) returns immediately even if no events are buffered. Capped at 60000ms.
Trait Implementations§
Source§impl Clone for SessionsPollSpawnedSessionsRequest
impl Clone for SessionsPollSpawnedSessionsRequest
Source§fn clone(&self) -> SessionsPollSpawnedSessionsRequest
fn clone(&self) -> SessionsPollSpawnedSessionsRequest
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 Default for SessionsPollSpawnedSessionsRequest
impl Default for SessionsPollSpawnedSessionsRequest
Source§fn default() -> SessionsPollSpawnedSessionsRequest
fn default() -> SessionsPollSpawnedSessionsRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionsPollSpawnedSessionsRequest
impl<'de> Deserialize<'de> for SessionsPollSpawnedSessionsRequest
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 SessionsPollSpawnedSessionsRequest
impl RefUnwindSafe for SessionsPollSpawnedSessionsRequest
impl Send for SessionsPollSpawnedSessionsRequest
impl Sync for SessionsPollSpawnedSessionsRequest
impl Unpin for SessionsPollSpawnedSessionsRequest
impl UnsafeUnpin for SessionsPollSpawnedSessionsRequest
impl UnwindSafe for SessionsPollSpawnedSessionsRequest
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