Struct google_speech1::api::LongRunningRecognizeRequest [−][src]
pub struct LongRunningRecognizeRequest {
pub audio: Option<RecognitionAudio>,
pub config: Option<RecognitionConfig>,
}
Expand description
The top-level message sent by the client for the LongRunningRecognize
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).
- longrunningrecognize speech (request)
Fields
audio: Option<RecognitionAudio>
Required. The audio data to be recognized.
config: Option<RecognitionConfig>
Required. Provides information to the recognizer that specifies how to process the request.
Trait Implementations
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for LongRunningRecognizeRequest
impl Send for LongRunningRecognizeRequest
impl Sync for LongRunningRecognizeRequest
impl Unpin for LongRunningRecognizeRequest
impl UnwindSafe for LongRunningRecognizeRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more