pub struct RealtimeTranslationClientSecretCreateResponse {
pub value: String,
pub expires_at: u64,
pub session: RealtimeTranslationSession,
}Available on crate feature
realtime-types only.Expand description
Response from creating a translation session and client secret for the Realtime API.
Fields§
§value: StringThe generated client secret value.
expires_at: u64Expiration timestamp for the client secret, in seconds since epoch.
session: RealtimeTranslationSessionThe translation session.
Trait Implementations§
Source§impl Clone for RealtimeTranslationClientSecretCreateResponse
impl Clone for RealtimeTranslationClientSecretCreateResponse
Source§fn clone(&self) -> RealtimeTranslationClientSecretCreateResponse
fn clone(&self) -> RealtimeTranslationClientSecretCreateResponse
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<'de> Deserialize<'de> for RealtimeTranslationClientSecretCreateResponse
impl<'de> Deserialize<'de> for RealtimeTranslationClientSecretCreateResponse
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 RealtimeTranslationClientSecretCreateResponse
impl RefUnwindSafe for RealtimeTranslationClientSecretCreateResponse
impl Send for RealtimeTranslationClientSecretCreateResponse
impl Sync for RealtimeTranslationClientSecretCreateResponse
impl Unpin for RealtimeTranslationClientSecretCreateResponse
impl UnsafeUnpin for RealtimeTranslationClientSecretCreateResponse
impl UnwindSafe for RealtimeTranslationClientSecretCreateResponse
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