Struct google_speech1::api::SpeechAdaptationInfo
source · pub struct SpeechAdaptationInfo {
pub adaptation_timeout: Option<bool>,
pub timeout_message: Option<String>,
}
Expand description
Information on speech adaptation use in results
This type is not used in any activity, and only used as part of another schema.
Fields§
§adaptation_timeout: Option<bool>
Whether there was a timeout when applying speech adaptation. If true, adaptation had no effect in the response transcript.
timeout_message: Option<String>
If set, returns a message specifying which part of the speech adaptation request timed out.
Trait Implementations§
source§impl Clone for SpeechAdaptationInfo
impl Clone for SpeechAdaptationInfo
source§fn clone(&self) -> SpeechAdaptationInfo
fn clone(&self) -> SpeechAdaptationInfo
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 SpeechAdaptationInfo
impl Debug for SpeechAdaptationInfo
source§impl Default for SpeechAdaptationInfo
impl Default for SpeechAdaptationInfo
source§fn default() -> SpeechAdaptationInfo
fn default() -> SpeechAdaptationInfo
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SpeechAdaptationInfo
impl<'de> Deserialize<'de> for SpeechAdaptationInfo
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 SpeechAdaptationInfo
impl Serialize for SpeechAdaptationInfo
impl Part for SpeechAdaptationInfo
Auto Trait Implementations§
impl RefUnwindSafe for SpeechAdaptationInfo
impl Send for SpeechAdaptationInfo
impl Sync for SpeechAdaptationInfo
impl Unpin for SpeechAdaptationInfo
impl UnwindSafe for SpeechAdaptationInfo
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