pub struct SpeechRecognitionResultError {
pub error: Error,
}
Expand description
The speech recognition failed
Fields§
§error: Error
Recognition error. An error with a message “MSG_VOICE_TOO_LONG” is returned when media duration is too big to be recognized
Trait Implementations§
Source§impl Clone for SpeechRecognitionResultError
impl Clone for SpeechRecognitionResultError
Source§fn clone(&self) -> SpeechRecognitionResultError
fn clone(&self) -> SpeechRecognitionResultError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SpeechRecognitionResultError
impl Debug for SpeechRecognitionResultError
Source§impl Default for SpeechRecognitionResultError
impl Default for SpeechRecognitionResultError
Source§fn default() -> SpeechRecognitionResultError
fn default() -> SpeechRecognitionResultError
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SpeechRecognitionResultError
impl<'de> Deserialize<'de> for SpeechRecognitionResultError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SpeechRecognitionResultError
impl PartialEq for SpeechRecognitionResultError
Source§fn eq(&self, other: &SpeechRecognitionResultError) -> bool
fn eq(&self, other: &SpeechRecognitionResultError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SpeechRecognitionResultError
Auto Trait Implementations§
impl Freeze for SpeechRecognitionResultError
impl RefUnwindSafe for SpeechRecognitionResultError
impl Send for SpeechRecognitionResultError
impl Sync for SpeechRecognitionResultError
impl Unpin for SpeechRecognitionResultError
impl UnwindSafe for SpeechRecognitionResultError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more