#[non_exhaustive]pub struct CreateSampleVoiceMultipartForm {
pub name: String,
pub consent: String,
pub audio_sample: MultipartPart,
pub type_: Option<VoiceSource>,
}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.name: String§consent: String§audio_sample: MultipartPart§type_: Option<VoiceSource>Implementations§
Source§impl CreateSampleVoiceMultipartForm
impl CreateSampleVoiceMultipartForm
Sourcepub fn builder(
name: String,
consent: String,
audio_sample: MultipartPart,
) -> CreateSampleVoiceMultipartFormBuilder
pub fn builder( name: String, consent: String, audio_sample: MultipartPart, ) -> CreateSampleVoiceMultipartFormBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl DeclaredFields for CreateSampleVoiceMultipartForm
impl DeclaredFields for CreateSampleVoiceMultipartForm
fn into_declared(self) -> Self
Auto Trait Implementations§
impl !Freeze for CreateSampleVoiceMultipartForm
impl !RefUnwindSafe for CreateSampleVoiceMultipartForm
impl !Sync for CreateSampleVoiceMultipartForm
impl !UnwindSafe for CreateSampleVoiceMultipartForm
impl Send for CreateSampleVoiceMultipartForm
impl Unpin for CreateSampleVoiceMultipartForm
impl UnsafeUnpin for CreateSampleVoiceMultipartForm
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