#[non_exhaustive]pub struct CreateRealtimeTranslationClientSecretRequest {
pub session: CreateRealtimeTranslationSessionRequest,
pub extra: BTreeMap<String, Value>,
}Expand description
EN: Request body for POST /v1/realtime/translations/client_secrets.
中文:POST /v1/realtime/translations/client_secrets 的请求体。
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.session: CreateRealtimeTranslationSessionRequestEN: Translation session configuration. 中文:Translation session 配置。
extra: BTreeMap<String, Value>EN: Forward-compatible client secret fields such as expiration settings. 中文:前向兼容的 client secret 字段,例如过期设置。
Implementations§
Source§impl CreateRealtimeTranslationClientSecretRequest
impl CreateRealtimeTranslationClientSecretRequest
Sourcepub fn builder() -> CreateRealtimeTranslationClientSecretRequestBuilder
pub fn builder() -> CreateRealtimeTranslationClientSecretRequestBuilder
EN: Starts building a realtime translation client secret request. 中文:开始构建 realtime translation client secret 请求。
Trait Implementations§
Source§impl Clone for CreateRealtimeTranslationClientSecretRequest
impl Clone for CreateRealtimeTranslationClientSecretRequest
Source§fn clone(&self) -> CreateRealtimeTranslationClientSecretRequest
fn clone(&self) -> CreateRealtimeTranslationClientSecretRequest
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 PartialEq for CreateRealtimeTranslationClientSecretRequest
impl PartialEq for CreateRealtimeTranslationClientSecretRequest
Source§fn eq(&self, other: &CreateRealtimeTranslationClientSecretRequest) -> bool
fn eq(&self, other: &CreateRealtimeTranslationClientSecretRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateRealtimeTranslationClientSecretRequest
Auto Trait Implementations§
impl Freeze for CreateRealtimeTranslationClientSecretRequest
impl RefUnwindSafe for CreateRealtimeTranslationClientSecretRequest
impl Send for CreateRealtimeTranslationClientSecretRequest
impl Sync for CreateRealtimeTranslationClientSecretRequest
impl Unpin for CreateRealtimeTranslationClientSecretRequest
impl UnsafeUnpin for CreateRealtimeTranslationClientSecretRequest
impl UnwindSafe for CreateRealtimeTranslationClientSecretRequest
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