Struct google_dialogflow3::api::GoogleCloudDialogflowCxV3AudioInput[][src]

pub struct GoogleCloudDialogflowCxV3AudioInput {
    pub audio: Option<String>,
    pub config: Option<GoogleCloudDialogflowCxV3InputAudioConfig>,
}

Represents the natural speech audio to be processed.

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

Fields

audio: Option<String>

The natural language speech audio to be processed. A single request can contain up to 1 minute of speech audio data. The transcribed text cannot contain more than 256 bytes. For non-streaming audio detect intent, both config and audio must be provided. For streaming audio detect intent, config must be provided in the first request and audio must be provided in all following requests.

config: Option<GoogleCloudDialogflowCxV3InputAudioConfig>

Required. Instructs the speech recognizer how to process the speech audio.

Trait Implementations

impl Clone for GoogleCloudDialogflowCxV3AudioInput[src]

impl Debug for GoogleCloudDialogflowCxV3AudioInput[src]

impl Default for GoogleCloudDialogflowCxV3AudioInput[src]

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

impl Part for GoogleCloudDialogflowCxV3AudioInput[src]

impl Serialize for GoogleCloudDialogflowCxV3AudioInput[src]

Auto Trait Implementations

impl RefUnwindSafe for GoogleCloudDialogflowCxV3AudioInput[src]

impl Send for GoogleCloudDialogflowCxV3AudioInput[src]

impl Sync for GoogleCloudDialogflowCxV3AudioInput[src]

impl Unpin for GoogleCloudDialogflowCxV3AudioInput[src]

impl UnwindSafe for GoogleCloudDialogflowCxV3AudioInput[src]

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> Instrument 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.