Struct google_cognitive_apis::api::rest::google::cloud::texttospeech::v1::AudioConfig
source · [−]pub struct AudioConfig {
pub audio_encoding: i32,
pub speaking_rate: f64,
pub pitch: f64,
pub volume_gain_db: f64,
pub sample_rate_hertz: i32,
pub effects_profile_id: Vec<String>,
}
Fields
audio_encoding: i32
speaking_rate: f64
pitch: f64
volume_gain_db: f64
sample_rate_hertz: i32
effects_profile_id: Vec<String>
Trait Implementations
sourceimpl Debug for AudioConfig
impl Debug for AudioConfig
sourceimpl<'de> Deserialize<'de> for AudioConfig
impl<'de> Deserialize<'de> for AudioConfig
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 From<AudioConfig> for AudioConfig
impl From<AudioConfig> for AudioConfig
sourcefn from(grpc_audio_cfg: GrpcAudioConfig) -> Self
fn from(grpc_audio_cfg: GrpcAudioConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for AudioConfig
impl Send for AudioConfig
impl Sync for AudioConfig
impl Unpin for AudioConfig
impl UnwindSafe for AudioConfig
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