pub struct RealtimeTranslationClientSecretCreateRequest {
pub expires_after: Option<RealtimeTranslationClientSecretExpiresAfter>,
pub session: RealtimeTranslationSessionCreateRequest,
}Available on crate feature
realtime-types only.Expand description
Create a translation session and client secret for the Realtime API.
Fields§
§expires_after: Option<RealtimeTranslationClientSecretExpiresAfter>§session: RealtimeTranslationSessionCreateRequestTrait Implementations§
Source§impl Clone for RealtimeTranslationClientSecretCreateRequest
impl Clone for RealtimeTranslationClientSecretCreateRequest
Source§fn clone(&self) -> RealtimeTranslationClientSecretCreateRequest
fn clone(&self) -> RealtimeTranslationClientSecretCreateRequest
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 RealtimeTranslationClientSecretCreateRequest
impl<'de> Deserialize<'de> for RealtimeTranslationClientSecretCreateRequest
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 RealtimeTranslationClientSecretCreateRequest
impl RefUnwindSafe for RealtimeTranslationClientSecretCreateRequest
impl Send for RealtimeTranslationClientSecretCreateRequest
impl Sync for RealtimeTranslationClientSecretCreateRequest
impl Unpin for RealtimeTranslationClientSecretCreateRequest
impl UnsafeUnpin for RealtimeTranslationClientSecretCreateRequest
impl UnwindSafe for RealtimeTranslationClientSecretCreateRequest
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