Enum gapi_grpc::google::cloud::texttospeech::v1::SsmlVoiceGender[][src]

#[repr(i32)]pub enum SsmlVoiceGender {
    Unspecified,
    Male,
    Female,
    Neutral,
}

Gender of the voice as described in SSML voice element.

Variants

Unspecified

An unspecified gender. In VoiceSelectionParams, this means that the client doesn’t care which gender the selected voice will have. In the Voice field of ListVoicesResponse, this may mean that the voice doesn’t fit any of the other categories in this enum, or that the gender of the voice isn’t known.

Male

A male voice.

Female

A female voice.

Neutral

A gender-neutral voice.

Implementations

impl SsmlVoiceGender[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of SsmlVoiceGender.

pub fn from_i32(value: i32) -> Option<SsmlVoiceGender>[src]

Converts an i32 to a SsmlVoiceGender, or None if value is not a valid variant.

Trait Implementations

impl Clone for SsmlVoiceGender[src]

impl Copy for SsmlVoiceGender[src]

impl Debug for SsmlVoiceGender[src]

impl Default for SsmlVoiceGender[src]

impl Eq for SsmlVoiceGender[src]

impl From<SsmlVoiceGender> for i32[src]

impl Hash for SsmlVoiceGender[src]

impl Ord for SsmlVoiceGender[src]

impl PartialEq<SsmlVoiceGender> for SsmlVoiceGender[src]

impl PartialOrd<SsmlVoiceGender> for SsmlVoiceGender[src]

impl StructuralEq for SsmlVoiceGender[src]

impl StructuralPartialEq for SsmlVoiceGender[src]

Auto Trait Implementations

impl RefUnwindSafe for SsmlVoiceGender

impl Send for SsmlVoiceGender

impl Sync for SsmlVoiceGender

impl Unpin for SsmlVoiceGender

impl UnwindSafe for SsmlVoiceGender

Blanket Implementations

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

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

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

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]