Struct gapi_grpc::google::cloud::dialogflow::v2::AgentAssistantFeedback[][src]

pub struct AgentAssistantFeedback {
    pub answer_relevance: i32,
    pub document_correctness: i32,
    pub document_efficiency: i32,
}

Detail feedback of Agent Assist result.

Fields

answer_relevance: i32

Optional. Whether or not the suggested answer is relevant.

For example:

document_correctness: i32

Optional. Whether or not the information in the document is correct.

For example:

document_efficiency: i32

Optional. Whether or not the suggested document is efficient. For example, if the document is poorly written, hard to understand, hard to use or too long to find useful information, [document_efficiency][google.cloud.dialogflow.v2.AgentAssistantFeedback.document_efficiency] is [DocumentEfficiency.INEFFICIENT][google.cloud.dialogflow.v2.AgentAssistantFeedback.DocumentEfficiency.INEFFICIENT].

Implementations

impl AgentAssistantFeedback[src]

pub fn answer_relevance(&self) -> AnswerRelevance[src]

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

pub fn set_answer_relevance(&mut self, value: AnswerRelevance)[src]

Sets answer_relevance to the provided enum value.

pub fn document_correctness(&self) -> DocumentCorrectness[src]

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

pub fn set_document_correctness(&mut self, value: DocumentCorrectness)[src]

Sets document_correctness to the provided enum value.

pub fn document_efficiency(&self) -> DocumentEfficiency[src]

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

pub fn set_document_efficiency(&mut self, value: DocumentEfficiency)[src]

Sets document_efficiency to the provided enum value.

Trait Implementations

impl Clone for AgentAssistantFeedback[src]

impl Debug for AgentAssistantFeedback[src]

impl Default for AgentAssistantFeedback[src]

impl Message for AgentAssistantFeedback[src]

impl PartialEq<AgentAssistantFeedback> for AgentAssistantFeedback[src]

impl StructuralPartialEq for AgentAssistantFeedback[src]

Auto Trait Implementations

impl RefUnwindSafe for AgentAssistantFeedback

impl Send for AgentAssistantFeedback

impl Sync for AgentAssistantFeedback

impl Unpin for AgentAssistantFeedback

impl UnwindSafe for AgentAssistantFeedback

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]