pub struct RealtimeCreateClientSecretResponse {
pub value: String,
pub expires_at: u64,
pub session: Session,
}Available on crate feature
realtime-types only.Expand description
Response from creating a Realtime client secret.
Fields§
§value: StringThe generated client secret value.
expires_at: u64Expiration timestamp for the client secret, in seconds since epoch.
session: SessionThe session configuration for either a realtime or transcription session.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RealtimeCreateClientSecretResponse
impl<'de> Deserialize<'de> for RealtimeCreateClientSecretResponse
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 RealtimeCreateClientSecretResponse
impl RefUnwindSafe for RealtimeCreateClientSecretResponse
impl Send for RealtimeCreateClientSecretResponse
impl Sync for RealtimeCreateClientSecretResponse
impl Unpin for RealtimeCreateClientSecretResponse
impl UnsafeUnpin for RealtimeCreateClientSecretResponse
impl UnwindSafe for RealtimeCreateClientSecretResponse
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