Struct google_cognitive_apis::api::rest::google::cloud::speechtotext::v1p1beta1::SpeechAdaptation
source · [−]pub struct SpeechAdaptation {
pub phrase_sets: Vec<PhraseSet>,
pub phrase_set_references: Vec<String>,
pub custom_classes: Vec<CustomClass>,
}
Expand description
See https://cloud.google.com/speech-to-text/docs/reference/rest/v1p1beta1/RecognitionConfig#SpeechAdaptation
Fields
phrase_sets: Vec<PhraseSet>
phrase_set_references: Vec<String>
custom_classes: Vec<CustomClass>
Trait Implementations
sourceimpl Clone for SpeechAdaptation
impl Clone for SpeechAdaptation
sourcefn clone(&self) -> SpeechAdaptation
fn clone(&self) -> SpeechAdaptation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SpeechAdaptation
impl Debug for SpeechAdaptation
sourceimpl<'de> Deserialize<'de> for SpeechAdaptation
impl<'de> Deserialize<'de> for SpeechAdaptation
sourcefn 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
sourceimpl Into<SpeechAdaptation> for SpeechAdaptation
impl Into<SpeechAdaptation> for SpeechAdaptation
sourcefn into(self) -> GrpcSpeechAdaptation
fn into(self) -> GrpcSpeechAdaptation
Converts this type into the (usually inferred) input type.
sourceimpl Serialize for SpeechAdaptation
impl Serialize for SpeechAdaptation
Auto Trait Implementations
impl RefUnwindSafe for SpeechAdaptation
impl Send for SpeechAdaptation
impl Sync for SpeechAdaptation
impl Unpin for SpeechAdaptation
impl UnwindSafe for SpeechAdaptation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request