pub struct GetSessionResponse {
pub session_id: String,
pub status: SessionStatus,
pub ttl_seconds: u64,
pub token: Option<CreateSessionRequest>,
pub response: Option<SubmitResponseRequest>,
}Expand description
Response when getting session status.
Fields§
§session_id: String§status: SessionStatus§ttl_seconds: u64§token: Option<CreateSessionRequest>§response: Option<SubmitResponseRequest>Trait Implementations§
Source§impl Debug for GetSessionResponse
impl Debug for GetSessionResponse
Source§impl<'de> Deserialize<'de> for GetSessionResponse
impl<'de> Deserialize<'de> for GetSessionResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetSessionResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetSessionResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for GetSessionResponse
impl Serialize for GetSessionResponse
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 GetSessionResponse
impl RefUnwindSafe for GetSessionResponse
impl Send for GetSessionResponse
impl Sync for GetSessionResponse
impl Unpin for GetSessionResponse
impl UnsafeUnpin for GetSessionResponse
impl UnwindSafe for GetSessionResponse
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