pub struct SyncRecognizeRequest {
pub config: Option<RecognitionConfig>,
pub audio: Option<RecognitionAudio>,
}Expand description
The top-level message sent by the client for the SyncRecognize method.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- syncrecognize speech (request)
Fields§
§config: Option<RecognitionConfig>Required Provides information to the recognizer that specifies how to process the request.
audio: Option<RecognitionAudio>Required The audio data to be recognized.
Trait Implementations§
Source§impl Clone for SyncRecognizeRequest
impl Clone for SyncRecognizeRequest
Source§fn clone(&self) -> SyncRecognizeRequest
fn clone(&self) -> SyncRecognizeRequest
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 SyncRecognizeRequest
impl Debug for SyncRecognizeRequest
Source§impl Default for SyncRecognizeRequest
impl Default for SyncRecognizeRequest
Source§fn default() -> SyncRecognizeRequest
fn default() -> SyncRecognizeRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SyncRecognizeRequest
impl<'de> Deserialize<'de> for SyncRecognizeRequest
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 Serialize for SyncRecognizeRequest
impl Serialize for SyncRecognizeRequest
impl RequestValue for SyncRecognizeRequest
Auto Trait Implementations§
impl Freeze for SyncRecognizeRequest
impl RefUnwindSafe for SyncRecognizeRequest
impl Send for SyncRecognizeRequest
impl Sync for SyncRecognizeRequest
impl Unpin for SyncRecognizeRequest
impl UnwindSafe for SyncRecognizeRequest
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