Enum gapi_grpc::google::actions::sdk::v2::conversation::slot::SlotStatus[][src]

#[repr(i32)]pub enum SlotStatus {
    SlotUnspecified,
    Empty,
    Invalid,
    Filled,
}

Represents the status of a slot.

Variants

SlotUnspecified

Fallback value when the usage field is not populated.

Empty

Indicates that the slot does not have any values. This status cannot be modified through the response.

Invalid

Indicates that the slot value is invalid. This status can be set through the response.

Filled

Indicates that the slot has a value. This status cannot be modified through the response.

Implementations

impl SlotStatus[src]

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

Returns true if value is a variant of SlotStatus.

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

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

Trait Implementations

impl Clone for SlotStatus[src]

impl Copy for SlotStatus[src]

impl Debug for SlotStatus[src]

impl Default for SlotStatus[src]

impl Eq for SlotStatus[src]

impl From<SlotStatus> for i32[src]

impl Hash for SlotStatus[src]

impl Ord for SlotStatus[src]

impl PartialEq<SlotStatus> for SlotStatus[src]

impl PartialOrd<SlotStatus> for SlotStatus[src]

impl StructuralEq for SlotStatus[src]

impl StructuralPartialEq for SlotStatus[src]

Auto Trait Implementations

impl RefUnwindSafe for SlotStatus

impl Send for SlotStatus

impl Sync for SlotStatus

impl Unpin for SlotStatus

impl UnwindSafe for SlotStatus

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]