Struct gapi_grpc::google::cloud::dialogflow::v2beta1::AnnotatedMessagePart[][src]

pub struct AnnotatedMessagePart {
    pub text: String,
    pub entity_type: String,
    pub formatted_value: Option<Value>,
}

Represents a part of a message possibly annotated with an entity. The part can be an entity or purely a part of the message between two entities or message start/end.

Fields

text: String

Required. A part of a message possibly annotated with an entity.

entity_type: String

Optional. The Dialogflow system entity type of this message part. If this is empty, Dialogflow could not annotate the phrase part with a system entity.

formatted_value: Option<Value>

Optional. The Dialogflow system entity formatted value of this message part. For example for a system entity of type @sys.unit-currency, this may contain:

{
  "amount": 5,
  "currency": "USD"
}

Trait Implementations

impl Clone for AnnotatedMessagePart[src]

impl Debug for AnnotatedMessagePart[src]

impl Default for AnnotatedMessagePart[src]

impl Message for AnnotatedMessagePart[src]

impl PartialEq<AnnotatedMessagePart> for AnnotatedMessagePart[src]

impl StructuralPartialEq for AnnotatedMessagePart[src]

Auto Trait Implementations

impl RefUnwindSafe for AnnotatedMessagePart

impl Send for AnnotatedMessagePart

impl Sync for AnnotatedMessagePart

impl Unpin for AnnotatedMessagePart

impl UnwindSafe for AnnotatedMessagePart

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