pub struct RealtimeCreateClientSecretResponse {
pub value: String,
pub expires_at: u64,
pub session: Session,
}Available on crate feature
realtime 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 Clone for RealtimeCreateClientSecretResponse
impl Clone for RealtimeCreateClientSecretResponse
Source§fn clone(&self) -> RealtimeCreateClientSecretResponse
fn clone(&self) -> RealtimeCreateClientSecretResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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 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