[−][src]Struct google_speech1::SpeechRecognitionAlternative
Alternative hypotheses (a.k.a. n-best list).
This type is not used in any activity, and only used as part of another schema.
Fields
confidence: Option<f32>
The confidence estimate between 0.0 and 1.0. A higher number
indicates an estimated greater likelihood that the recognized words are
correct. This field is set only for the top alternative of a non-streaming
result or, of a streaming result where is_final=true
.
This field is not guaranteed to be accurate and users should not rely on it
to be always provided.
The default of 0.0 is a sentinel value indicating confidence
was not set.
transcript: Option<String>
Transcript text representing the words that the user spoke.
words: Option<Vec<WordInfo>>
A list of word-specific information for each recognized word.
Note: When enable_speaker_diarization
is true, you will see all the words
from the beginning of the audio.
Trait Implementations
impl Clone for SpeechRecognitionAlternative
[src]
fn clone(&self) -> SpeechRecognitionAlternative
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SpeechRecognitionAlternative
[src]
impl Default for SpeechRecognitionAlternative
[src]
impl<'de> Deserialize<'de> for SpeechRecognitionAlternative
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for SpeechRecognitionAlternative
[src]
impl Serialize for SpeechRecognitionAlternative
[src]
Auto Trait Implementations
impl RefUnwindSafe for SpeechRecognitionAlternative
impl Send for SpeechRecognitionAlternative
impl Sync for SpeechRecognitionAlternative
impl Unpin for SpeechRecognitionAlternative
impl UnwindSafe for SpeechRecognitionAlternative
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,