Enum gapi_grpc::google::cloud::dialogflow::v2beta1::IntentView[][src]

[]
#[repr(i32)]pub enum IntentView {
    Unspecified,
    Full,
}
[]

Represents the options for views of an intent. An intent can be a sizable object. Therefore, we provide a resource view that does not return training phrases in the response by default.

Variants

Unspecified
[]

Training phrases field is not populated in the response.

Full
[]

All fields are populated.

Implementations

impl IntentView[src][]

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

Returns true if value is a variant of IntentView.

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

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

Trait Implementations

impl Clone for IntentView[src][+]

impl Copy for IntentView[src]

impl Debug for IntentView[src][+]

impl Default for IntentView[src][+]

impl Eq for IntentView[src]

impl From<IntentView> for i32[src][+]

impl Hash for IntentView[src][+]

impl Ord for IntentView[src][+]

impl PartialEq<IntentView> for IntentView[src][+]

impl PartialOrd<IntentView> for IntentView[src][+]

impl StructuralEq for IntentView[src]

impl StructuralPartialEq for IntentView[src]

Auto Trait Implementations

impl RefUnwindSafe for IntentView

impl Send for IntentView

impl Sync for IntentView

impl Unpin for IntentView

impl UnwindSafe for IntentView

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][+]