[][src]Struct gcp_client::google::cloud::videointelligence::v1::SpeechTranscription

pub struct SpeechTranscription {
    pub alternatives: Vec<SpeechRecognitionAlternative>,
    pub language_code: String,
}

A speech recognition result corresponding to a portion of the audio.

Fields

alternatives: Vec<SpeechRecognitionAlternative>

May contain one or more recognition hypotheses (up to the maximum specified in max_alternatives). These alternatives are ordered in terms of accuracy, with the top (first) alternative being the most probable, as ranked by the recognizer.

language_code: String

Output only. The BCP-47 language tag of the language in this result. This language code was detected to have the most likelihood of being spoken in the audio.

Trait Implementations

impl Clone for SpeechTranscription[src]

impl Debug for SpeechTranscription[src]

impl Default for SpeechTranscription[src]

impl Message for SpeechTranscription[src]

impl PartialEq<SpeechTranscription> for SpeechTranscription[src]

impl StructuralPartialEq for SpeechTranscription[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> 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> 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>, 

impl<T> WithSubscriber for T[src]