pub struct AudioResource { /* private fields */ }Expand description
EN: Audio API resource. 中文:Audio API 资源。
Implementations§
Source§impl AudioResource
impl AudioResource
Sourcepub fn speech(&self) -> AudioSpeechResource
pub fn speech(&self) -> AudioSpeechResource
EN: Returns the Audio Speech API resource. 中文:返回 Audio Speech API 资源。
Sourcepub fn transcriptions(&self) -> AudioTranscriptionsResource
pub fn transcriptions(&self) -> AudioTranscriptionsResource
EN: Returns the Audio Transcriptions API resource. 中文:返回 Audio Transcriptions API 资源。
Sourcepub fn translations(&self) -> AudioTranslationsResource
pub fn translations(&self) -> AudioTranslationsResource
EN: Returns the Audio Translations API resource. 中文:返回 Audio Translations API 资源。
Sourcepub fn voice_consents(&self) -> AudioVoiceConsentsResource
pub fn voice_consents(&self) -> AudioVoiceConsentsResource
EN: Returns the Audio Voice Consents API resource. 中文:返回 Audio Voice Consents API 资源。
Sourcepub fn voices(&self) -> AudioVoicesResource
pub fn voices(&self) -> AudioVoicesResource
EN: Returns the Audio Voices API resource. 中文:返回 Audio Voices API 资源。
Trait Implementations§
Source§impl Clone for AudioResource
impl Clone for AudioResource
Source§fn clone(&self) -> AudioResource
fn clone(&self) -> AudioResource
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 AudioResource
impl !UnwindSafe for AudioResource
impl Freeze for AudioResource
impl Send for AudioResource
impl Sync for AudioResource
impl Unpin for AudioResource
impl UnsafeUnpin for AudioResource
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