pub struct CreateVoiceFromConsentRequest {
pub name: String,
pub audio_sample: AudioInput,
pub consent: String,
}Available on crate feature
audio-types only.Expand description
Request to create a custom voice.
Fields§
§name: StringThe name of the new voice.
audio_sample: AudioInputThe sample audio recording file. Maximum size is 10 MiB.
Supported MIME types: audio/mpeg, audio/wav, audio/x-wav, audio/ogg,
audio/aac, audio/flac, audio/webm, audio/mp4.
consent: StringThe consent recording ID (for example, cons_1234).
Trait Implementations§
Source§impl From<CreateVoiceFromConsentRequest> for CreateVoiceRequest
impl From<CreateVoiceFromConsentRequest> for CreateVoiceRequest
Source§fn from(value: CreateVoiceFromConsentRequest) -> Self
fn from(value: CreateVoiceFromConsentRequest) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for CreateVoiceFromConsentRequest
Auto Trait Implementations§
impl !Freeze for CreateVoiceFromConsentRequest
impl RefUnwindSafe for CreateVoiceFromConsentRequest
impl Send for CreateVoiceFromConsentRequest
impl Sync for CreateVoiceFromConsentRequest
impl Unpin for CreateVoiceFromConsentRequest
impl UnsafeUnpin for CreateVoiceFromConsentRequest
impl UnwindSafe for CreateVoiceFromConsentRequest
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