#[non_exhaustive]pub struct CreateRealtimeClientSecretRequest {
pub session: RealtimeSessionConfig,
}Expand description
EN: Request body for POST /v1/realtime/client_secrets.
中文:POST /v1/realtime/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: RealtimeSessionConfigEN: Realtime or transcription session configuration. 中文:Realtime 或转录会话配置。
Implementations§
Source§impl CreateRealtimeClientSecretRequest
impl CreateRealtimeClientSecretRequest
Sourcepub fn builder() -> CreateRealtimeClientSecretRequestBuilder
pub fn builder() -> CreateRealtimeClientSecretRequestBuilder
EN: Starts building a realtime client secret creation request. 中文:开始构建 realtime client secret 创建请求。
Trait Implementations§
Source§impl Clone for CreateRealtimeClientSecretRequest
impl Clone for CreateRealtimeClientSecretRequest
Source§fn clone(&self) -> CreateRealtimeClientSecretRequest
fn clone(&self) -> CreateRealtimeClientSecretRequest
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 CreateRealtimeClientSecretRequest
impl PartialEq for CreateRealtimeClientSecretRequest
Source§fn eq(&self, other: &CreateRealtimeClientSecretRequest) -> bool
fn eq(&self, other: &CreateRealtimeClientSecretRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateRealtimeClientSecretRequest
Auto Trait Implementations§
impl Freeze for CreateRealtimeClientSecretRequest
impl RefUnwindSafe for CreateRealtimeClientSecretRequest
impl Send for CreateRealtimeClientSecretRequest
impl Sync for CreateRealtimeClientSecretRequest
impl Unpin for CreateRealtimeClientSecretRequest
impl UnsafeUnpin for CreateRealtimeClientSecretRequest
impl UnwindSafe for CreateRealtimeClientSecretRequest
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