Struct google_cognitive_apis::api::rest::google::cloud::texttospeech::v1::VoiceSelectionParams
source · [−]pub struct VoiceSelectionParams {
pub language_code: String,
pub name: String,
pub ssml_gender: i32,
}
Fields
language_code: String
name: String
ssml_gender: i32
Trait Implementations
sourceimpl Debug for VoiceSelectionParams
impl Debug for VoiceSelectionParams
sourceimpl<'de> Deserialize<'de> for VoiceSelectionParams
impl<'de> Deserialize<'de> for VoiceSelectionParams
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<VoiceSelectionParams> for VoiceSelectionParams
impl From<VoiceSelectionParams> for VoiceSelectionParams
sourcefn from(grpc_vsp: GrpcVoiceSelectionParams) -> Self
fn from(grpc_vsp: GrpcVoiceSelectionParams) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for VoiceSelectionParams
impl Send for VoiceSelectionParams
impl Sync for VoiceSelectionParams
impl Unpin for VoiceSelectionParams
impl UnwindSafe for VoiceSelectionParams
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