pub struct SessionOpenResponse {
pub session_id: String,
pub activated_once: bool,
pub server_time_ms: u64,
}Expand description
POST /session/open response body.
The returned session_id becomes the value of the Session-Id
request header on every subsequent request that should share this
session’s cached app binding.
Fields§
§session_id: StringOpaque token; treat as a stable string identifier. UUID today.
activated_once: boolWhether the runner issued an initial .activate() on open.
Mirrors the request’s activate field unless the runner
rate-limited it (e.g. same bundle-id was activated within the
last 5 s from a prior session).
server_time_ms: u64Server-side epoch millis at open. Consumers pair this with
downstream sessionUptimeMs sidecar fields to reconstruct
session timelines.
Trait Implementations§
Source§impl Clone for SessionOpenResponse
impl Clone for SessionOpenResponse
Source§fn clone(&self) -> SessionOpenResponse
fn clone(&self) -> SessionOpenResponse
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 SessionOpenResponse
impl Debug for SessionOpenResponse
Source§impl<'de> Deserialize<'de> for SessionOpenResponse
impl<'de> Deserialize<'de> for SessionOpenResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SessionOpenResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SessionOpenResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for SessionOpenResponse
impl Serialize for SessionOpenResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for SessionOpenResponse
impl RefUnwindSafe for SessionOpenResponse
impl Send for SessionOpenResponse
impl Sync for SessionOpenResponse
impl Unpin for SessionOpenResponse
impl UnsafeUnpin for SessionOpenResponse
impl UnwindSafe for SessionOpenResponse
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