pub struct RealtimeSession {
pub object: Option<String>,
pub client_secret: RealtimeClientSecret,
pub session: Option<Value>,
}Expand description
The response of a Realtime session creation.
Fields§
§object: Option<String>The object type (realtime.session).
client_secret: RealtimeClientSecretThe ephemeral client secret used to open the WebSocket connection.
session: Option<Value>The full effective session configuration, as raw JSON.
Trait Implementations§
Source§impl Clone for RealtimeSession
impl Clone for RealtimeSession
Source§impl Debug for RealtimeSession
impl Debug for RealtimeSession
Source§impl<'de> Deserialize<'de> for RealtimeSession
impl<'de> Deserialize<'de> for RealtimeSession
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 FromStr for RealtimeSession
impl FromStr for RealtimeSession
Auto Trait Implementations§
impl Freeze for RealtimeSession
impl RefUnwindSafe for RealtimeSession
impl Send for RealtimeSession
impl Sync for RealtimeSession
impl Unpin for RealtimeSession
impl UnsafeUnpin for RealtimeSession
impl UnwindSafe for RealtimeSession
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