pub struct ClientSecretCreateResponse {
pub expires_at: i64,
pub session: Session,
pub value: String,
}Expand description
Response from creating a session and client secret for the Realtime API.
Fields§
§expires_at: i64Expiration timestamp for the client secret, in seconds since epoch.
session: SessionThe session configuration for either a realtime or transcription session.
value: StringThe generated client secret value.
Trait Implementations§
Source§impl Clone for ClientSecretCreateResponse
impl Clone for ClientSecretCreateResponse
Source§fn clone(&self) -> ClientSecretCreateResponse
fn clone(&self) -> ClientSecretCreateResponse
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 ClientSecretCreateResponse
impl Debug for ClientSecretCreateResponse
Source§impl<'de> Deserialize<'de> for ClientSecretCreateResponse
impl<'de> Deserialize<'de> for ClientSecretCreateResponse
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 ClientSecretCreateResponse
impl RefUnwindSafe for ClientSecretCreateResponse
impl Send for ClientSecretCreateResponse
impl Sync for ClientSecretCreateResponse
impl Unpin for ClientSecretCreateResponse
impl UnsafeUnpin for ClientSecretCreateResponse
impl UnwindSafe for ClientSecretCreateResponse
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