pub struct SpeechOptions {
pub content: Option<Vec<Content>>,
pub voice: Option<Demographic>,
pub group: Option<Group>,
}Expand description
The options argument of generate_speech.
Fields§
§content: Option<Vec<Content>>§voice: Option<Demographic>§group: Option<Group>Trait Implementations§
Source§impl Clone for SpeechOptions
impl Clone for SpeechOptions
Source§impl Debug for SpeechOptions
impl Debug for SpeechOptions
Auto Trait Implementations§
impl Forget for SpeechOptions
impl Freeze for SpeechOptionswhere
*const u8 is !null: Freeze,
PhantomData<Content>: Freeze,
PhantomData<Ethnicity>: Freeze,
PhantomData<u8>: Freeze,
NonZero<i32>: Freeze,
Utc: Freeze,
PhantomData<String>: Freeze,
PhantomData<GroupRef>: Freeze,
PhantomData<GroupMember>: Freeze,
impl Move for SpeechOptions
impl RefUnwindSafe for SpeechOptions
impl Send for SpeechOptions
impl Sync for SpeechOptions
impl Unpin for SpeechOptions
impl UnsafeUnpin for SpeechOptionswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Content>: UnsafeUnpin,
PhantomData<Ethnicity>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
Utc: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<GroupRef>: UnsafeUnpin,
PhantomData<GroupMember>: UnsafeUnpin,
impl UnwindSafe for SpeechOptions
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