pub struct RealtimeTranslationClientSecretsResource { /* private fields */ }Expand description
EN: Realtime Translation Client Secrets API resource. 中文:Realtime Translation Client Secrets API 资源。
Implementations§
Source§impl RealtimeTranslationClientSecretsResource
impl RealtimeTranslationClientSecretsResource
Sourcepub async fn create(
&self,
request: CreateRealtimeTranslationClientSecretRequest,
) -> Result<RealtimeTranslationClientSecret, LingerError>
pub async fn create( &self, request: CreateRealtimeTranslationClientSecretRequest, ) -> Result<RealtimeTranslationClientSecret, LingerError>
EN: Creates a realtime translation client secret with POST /v1/realtime/translations/client_secrets.
中文:使用 POST /v1/realtime/translations/client_secrets 创建 realtime translation client secret。
Trait Implementations§
Source§impl Clone for RealtimeTranslationClientSecretsResource
impl Clone for RealtimeTranslationClientSecretsResource
Source§fn clone(&self) -> RealtimeTranslationClientSecretsResource
fn clone(&self) -> RealtimeTranslationClientSecretsResource
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for RealtimeTranslationClientSecretsResource
impl !UnwindSafe for RealtimeTranslationClientSecretsResource
impl Freeze for RealtimeTranslationClientSecretsResource
impl Send for RealtimeTranslationClientSecretsResource
impl Sync for RealtimeTranslationClientSecretsResource
impl Unpin for RealtimeTranslationClientSecretsResource
impl UnsafeUnpin for RealtimeTranslationClientSecretsResource
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