pub struct StreamRunEventsParams {
pub token: Option<String>,
pub last_event_id: Option<String>,
}Expand description
Query and header parameters for streamRunEvents.
Fields§
§token: Option<String>Short-lived SSE/WebSocket token (mint via POST /api/v1/auth/sse-tokens) or full API key.
Used by browser EventSource which cannot set Authorization header.
last_event_id: Option<String>SSE resumption cursor. The browser’s EventSource sets this automatically on reconnect; servers replay events strictly after this id.
Trait Implementations§
Source§impl Clone for StreamRunEventsParams
impl Clone for StreamRunEventsParams
Source§fn clone(&self) -> StreamRunEventsParams
fn clone(&self) -> StreamRunEventsParams
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 StreamRunEventsParams
impl Debug for StreamRunEventsParams
Source§impl Default for StreamRunEventsParams
impl Default for StreamRunEventsParams
Source§fn default() -> StreamRunEventsParams
fn default() -> StreamRunEventsParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StreamRunEventsParams
impl<'de> Deserialize<'de> for StreamRunEventsParams
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
Source§impl PartialEq for StreamRunEventsParams
impl PartialEq for StreamRunEventsParams
Source§impl Serialize for StreamRunEventsParams
impl Serialize for StreamRunEventsParams
impl StructuralPartialEq for StreamRunEventsParams
Auto Trait Implementations§
impl Freeze for StreamRunEventsParams
impl RefUnwindSafe for StreamRunEventsParams
impl Send for StreamRunEventsParams
impl Sync for StreamRunEventsParams
impl Unpin for StreamRunEventsParams
impl UnsafeUnpin for StreamRunEventsParams
impl UnwindSafe for StreamRunEventsParams
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