[][src]Struct google_speech1::RecognitionMetadata

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

Description of audio data to be recognized.

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

Fields

recording_device_type: Option<String>

The type of device the speech was recorded with.

original_media_type: Option<String>

The original media the speech was recorded on.

microphone_distance: Option<String>

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

obfuscated_id: Option<String>

Obfuscated (privacy-protected) ID of the user, to identify number of unique users using the service.

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

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/.

audio_topic: Option<String>

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

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'.

interaction_type: Option<String>

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

Trait Implementations

impl Part for RecognitionMetadata[src]

impl Default for RecognitionMetadata[src]

impl Clone for RecognitionMetadata[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for RecognitionMetadata[src]

impl Serialize for RecognitionMetadata[src]

impl<'de> Deserialize<'de> for RecognitionMetadata[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]