Struct google_speech1::api::LongRunningRecognizeRequest
source · pub struct LongRunningRecognizeRequest {
pub audio: Option<RecognitionAudio>,
pub config: Option<RecognitionConfig>,
pub output_config: Option<TranscriptOutputConfig>,
}
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.
output_config: Option<TranscriptOutputConfig>
Optional. Specifies an optional destination for the recognition results.
Trait Implementations§
source§impl Clone for LongRunningRecognizeRequest
impl Clone for LongRunningRecognizeRequest
source§fn clone(&self) -> LongRunningRecognizeRequest
fn clone(&self) -> LongRunningRecognizeRequest
Returns a copy 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 LongRunningRecognizeRequest
impl Debug for LongRunningRecognizeRequest
source§impl Default for LongRunningRecognizeRequest
impl Default for LongRunningRecognizeRequest
source§fn default() -> LongRunningRecognizeRequest
fn default() -> LongRunningRecognizeRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LongRunningRecognizeRequest
impl<'de> Deserialize<'de> for LongRunningRecognizeRequest
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
impl RequestValue for LongRunningRecognizeRequest
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§
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