Enum gapi_grpc::google::assistant::embedded::v1alpha1::converse_result::MicrophoneMode[][src]

#[repr(i32)]pub enum MicrophoneMode {
    Unspecified,
    CloseMicrophone,
    DialogFollowOn,
}

Possible states of the microphone after a Converse RPC completes.

Variants

Unspecified

No mode specified.

CloseMicrophone

The service is not expecting a follow-on question from the user. The microphone should remain off until the user re-activates it.

DialogFollowOn

The service is expecting a follow-on question from the user. The microphone should be re-opened when the AudioOut playback completes (by starting a new Converse RPC call to send the new audio).

Implementations

impl MicrophoneMode[src]

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

Returns true if value is a variant of MicrophoneMode.

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

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

Trait Implementations

impl Clone for MicrophoneMode[src]

impl Copy for MicrophoneMode[src]

impl Debug for MicrophoneMode[src]

impl Default for MicrophoneMode[src]

impl Eq for MicrophoneMode[src]

impl From<MicrophoneMode> for i32[src]

impl Hash for MicrophoneMode[src]

impl Ord for MicrophoneMode[src]

impl PartialEq<MicrophoneMode> for MicrophoneMode[src]

impl PartialOrd<MicrophoneMode> for MicrophoneMode[src]

impl StructuralEq for MicrophoneMode[src]

impl StructuralPartialEq for MicrophoneMode[src]

Auto Trait Implementations

impl RefUnwindSafe for MicrophoneMode

impl Send for MicrophoneMode

impl Sync for MicrophoneMode

impl Unpin for MicrophoneMode

impl UnwindSafe for MicrophoneMode

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]