pub struct RealtimeTranscriptionSessionCreateResponseClientSecret {
pub expires_at: i32,
pub value: String,
}
Fields§
§expires_at: i32
Timestamp for when the token expires. Currently, all tokens expire after one minute.
value: String
Ephemeral key usable in client environments to authenticate connections to the Realtime API. Use this in client-side environments rather than a standard API token, which should only be used server-side.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RealtimeTranscriptionSessionCreateResponseClientSecret
impl<'de> Deserialize<'de> for RealtimeTranscriptionSessionCreateResponseClientSecret
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 RealtimeTranscriptionSessionCreateResponseClientSecret
impl RefUnwindSafe for RealtimeTranscriptionSessionCreateResponseClientSecret
impl Send for RealtimeTranscriptionSessionCreateResponseClientSecret
impl Sync for RealtimeTranscriptionSessionCreateResponseClientSecret
impl Unpin for RealtimeTranscriptionSessionCreateResponseClientSecret
impl UnwindSafe for RealtimeTranscriptionSessionCreateResponseClientSecret
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