Struct gapi_grpc::google::cloud::dialogflow::cx::v3::AudioInput[][src]

pub struct AudioInput {
    pub config: Option<InputAudioConfig>,
    pub audio: Vec<u8>,
}

Represents the natural speech audio to be processed.

Fields

config: Option<InputAudioConfig>

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

audio: Vec<u8>

The natural language speech audio to be processed. A single request can contain up to 1 minute of speech audio data. The [transcribed text][google.cloud.dialogflow.cx.v3.QueryResult.transcript] 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.

Trait Implementations

impl Clone for AudioInput[src]

impl Debug for AudioInput[src]

impl Default for AudioInput[src]

impl Message for AudioInput[src]

impl PartialEq<AudioInput> for AudioInput[src]

impl StructuralPartialEq for AudioInput[src]

Auto Trait Implementations

impl RefUnwindSafe for AudioInput

impl Send for AudioInput

impl Sync for AudioInput

impl Unpin for AudioInput

impl UnwindSafe for AudioInput

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]