pub struct OpenSessionResponse {
pub id: String,
pub metadata: Map<String, Value>,
}Expand description
Response body for POST /sessions.
Fields§
§id: String§metadata: Map<String, Value>Session-scoped metadata returned by the component.
Trait Implementations§
Source§impl Clone for OpenSessionResponse
impl Clone for OpenSessionResponse
Source§fn clone(&self) -> OpenSessionResponse
fn clone(&self) -> OpenSessionResponse
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 OpenSessionResponse
impl Debug for OpenSessionResponse
Source§impl<'de> Deserialize<'de> for OpenSessionResponse
impl<'de> Deserialize<'de> for OpenSessionResponse
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 OpenSessionResponse
impl RefUnwindSafe for OpenSessionResponse
impl Send for OpenSessionResponse
impl Sync for OpenSessionResponse
impl Unpin for OpenSessionResponse
impl UnsafeUnpin for OpenSessionResponse
impl UnwindSafe for OpenSessionResponse
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