pub struct AdvancedVoiceOptions {
pub low_latency_journey_synthesis: Option<bool>,
pub relax_safety_filters: Option<bool>,
}Expand description
Used for advanced voice options.
This type is not used in any activity, and only used as part of another schema.
Fields§
§low_latency_journey_synthesis: Option<bool>Only for Journey voices. If false, the synthesis is context aware and has a higher latency.
relax_safety_filters: Option<bool>Optional. Input only. If true, relaxes safety filters for Gemini TTS. Only supported for accounts linked to Invoiced (Offline) Cloud billing accounts. Otherwise, will return result google.rpc.Code.INVALID_ARGUMENT.
Trait Implementations§
Source§impl Clone for AdvancedVoiceOptions
impl Clone for AdvancedVoiceOptions
Source§fn clone(&self) -> AdvancedVoiceOptions
fn clone(&self) -> AdvancedVoiceOptions
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 moreSource§impl Debug for AdvancedVoiceOptions
impl Debug for AdvancedVoiceOptions
Source§impl Default for AdvancedVoiceOptions
impl Default for AdvancedVoiceOptions
Source§fn default() -> AdvancedVoiceOptions
fn default() -> AdvancedVoiceOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AdvancedVoiceOptions
impl<'de> Deserialize<'de> for AdvancedVoiceOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for AdvancedVoiceOptions
impl Serialize for AdvancedVoiceOptions
impl Part for AdvancedVoiceOptions
Auto Trait Implementations§
impl Freeze for AdvancedVoiceOptions
impl RefUnwindSafe for AdvancedVoiceOptions
impl Send for AdvancedVoiceOptions
impl Sync for AdvancedVoiceOptions
impl Unpin for AdvancedVoiceOptions
impl UnwindSafe for AdvancedVoiceOptions
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