[][src]Struct google_texttospeech1::SynthesisInput

pub struct SynthesisInput {
    pub ssml: Option<String>,
    pub text: Option<String>,
}

Contains text input to be synthesized. Either text or ssml must be supplied. Supplying both or neither returns google.rpc.Code.INVALID_ARGUMENT. The input size is limited to 5000 characters.

This type is not used in any activity, and only used as part of another schema.

Fields

ssml: Option<String>

The SSML document to be synthesized. The SSML document must be valid and well-formed. Otherwise the RPC will fail and return google.rpc.Code.INVALID_ARGUMENT. For more information, see SSML.

text: Option<String>

The raw text to be synthesized.

Trait Implementations

impl Clone for SynthesisInput[src]

impl Debug for SynthesisInput[src]

impl Default for SynthesisInput[src]

impl<'de> Deserialize<'de> for SynthesisInput[src]

impl Part for SynthesisInput[src]

impl Serialize for SynthesisInput[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any