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

pub struct AnswerFeedback {
    pub correctness_level: i32,
    pub clicked: bool,
    pub click_time: Option<Timestamp>,
    pub displayed: bool,
    pub display_time: Option<Timestamp>,
    pub detail_feedback: Option<DetailFeedback>,
}

Represents feedback the customer has about the quality & correctness of a certain answer in a conversation.

Fields

correctness_level: i32

The correctness level of the specific answer.

clicked: bool

Indicates whether the answer/item was clicked by the human agent or not. Default to false.

click_time: Option<Timestamp>

Time when the answer/item was clicked.

displayed: bool

Indicates whether the answer/item was displayed to the human agent in the agent desktop UI. Default to false.

display_time: Option<Timestamp>

Time when the answer/item was displayed.

detail_feedback: Option<DetailFeedback>

Normally, detail feedback is provided when answer is not fully correct.

Implementations

impl AnswerFeedback[src]

pub fn correctness_level(&self) -> CorrectnessLevel[src]

Returns the enum value of correctness_level, or the default if the field is set to an invalid enum value.

pub fn set_correctness_level(&mut self, value: CorrectnessLevel)[src]

Sets correctness_level to the provided enum value.

Trait Implementations

impl Clone for AnswerFeedback[src]

impl Debug for AnswerFeedback[src]

impl Default for AnswerFeedback[src]

impl Message for AnswerFeedback[src]

impl PartialEq<AnswerFeedback> for AnswerFeedback[src]

impl StructuralPartialEq for AnswerFeedback[src]

Auto Trait Implementations

impl RefUnwindSafe for AnswerFeedback

impl Send for AnswerFeedback

impl Sync for AnswerFeedback

impl Unpin for AnswerFeedback

impl UnwindSafe for AnswerFeedback

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]