pub struct StreamSessionEventsParams {
pub token: Option<String>,
pub last_event_id: Option<String>,
}Expand description
Query and header parameters for streamSessionEvents.
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 StreamSessionEventsParams
impl Clone for StreamSessionEventsParams
Source§fn clone(&self) -> StreamSessionEventsParams
fn clone(&self) -> StreamSessionEventsParams
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 StreamSessionEventsParams
impl Debug for StreamSessionEventsParams
Source§impl Default for StreamSessionEventsParams
impl Default for StreamSessionEventsParams
Source§fn default() -> StreamSessionEventsParams
fn default() -> StreamSessionEventsParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StreamSessionEventsParams
impl<'de> Deserialize<'de> for StreamSessionEventsParams
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 StructuralPartialEq for StreamSessionEventsParams
Auto Trait Implementations§
impl Freeze for StreamSessionEventsParams
impl RefUnwindSafe for StreamSessionEventsParams
impl Send for StreamSessionEventsParams
impl Sync for StreamSessionEventsParams
impl Unpin for StreamSessionEventsParams
impl UnsafeUnpin for StreamSessionEventsParams
impl UnwindSafe for StreamSessionEventsParams
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