Struct google_speech1::api::RecognitionMetadata[][src]

pub struct RecognitionMetadata {
    pub audio_topic: Option<String>,
    pub industry_naics_code_of_audio: Option<u32>,
    pub interaction_type: Option<String>,
    pub microphone_distance: Option<String>,
    pub original_media_type: Option<String>,
    pub original_mime_type: Option<String>,
    pub recording_device_name: Option<String>,
    pub recording_device_type: Option<String>,
}
Expand description

Description of audio data to be recognized.

This type is not used in any activity, and only used as part of another schema.

Fields

audio_topic: Option<String>

Description of the content. Eg. “Recordings of federal supreme court hearings from 2012”.

industry_naics_code_of_audio: Option<u32>

The industry vertical to which this speech recognition request most closely applies. This is most indicative of the topics contained in the audio. Use the 6-digit NAICS code to identify the industry vertical - see https://www.naics.com/search/.

interaction_type: Option<String>

The use case most closely describing the audio content to be recognized.

microphone_distance: Option<String>

The audio type that most closely describes the audio being recognized.

original_media_type: Option<String>

The original media the speech was recorded on.

original_mime_type: Option<String>

Mime type of the original audio file. For example audio/m4a, audio/x-alaw-basic, audio/mp3, audio/3gpp. A list of possible audio mime types is maintained at http://www.iana.org/assignments/media-types/media-types.xhtml#audio

recording_device_name: Option<String>

The device used to make the recording. Examples ‘Nexus 5X’ or ‘Polycom SoundStation IP 6000’ or ‘POTS’ or ‘VoIP’ or ‘Cardioid Microphone’.

recording_device_type: Option<String>

The type of device the speech was recorded with.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.