pub struct CloneVoiceFile {
pub filename: String,
pub data: Vec<u8>,
pub mime_type: String,
}Expand description
A file to include in a voice clone request.
Fields§
§filename: StringOriginal filename (e.g. “sample.mp3”).
data: Vec<u8>Raw file bytes.
mime_type: StringMIME type (e.g. “audio/mpeg”).
Trait Implementations§
Source§impl Clone for CloneVoiceFile
impl Clone for CloneVoiceFile
Source§fn clone(&self) -> CloneVoiceFile
fn clone(&self) -> CloneVoiceFile
Returns a duplicate of the value. Read more
1.0.0 · 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 Freeze for CloneVoiceFile
impl RefUnwindSafe for CloneVoiceFile
impl Send for CloneVoiceFile
impl Sync for CloneVoiceFile
impl Unpin for CloneVoiceFile
impl UnsafeUnpin for CloneVoiceFile
impl UnwindSafe for CloneVoiceFile
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