Struct google_texttospeech1::SynthesisInput[][src]

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

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.

The raw text to be synthesized.

Trait Implementations

impl Default for SynthesisInput
[src]

Returns the "default value" for a type. Read more

impl Clone for SynthesisInput
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SynthesisInput
[src]

Formats the value using the given formatter. Read more

impl Part for SynthesisInput
[src]

Auto Trait Implementations