Struct gapi_grpc::google::cloud::dataqna::v1alpha::Interpretation[][src]

pub struct Interpretation {
    pub data_sources: Vec<String>,
    pub confidence: f64,
    pub unused_phrases: Vec<String>,
    pub human_readable: Option<HumanReadable>,
    pub interpretation_structure: Option<InterpretationStructure>,
    pub data_query: Option<DataQuery>,
    pub execution_info: Option<ExecutionInfo>,
}

An interpretation of a natural language query.

Fields

data_sources: Vec<String>

List of data sources used in the current understanding.

confidence: f64

The level of confidence that one of the interpretations is correct. This is a value in the range [0, 1] where a value of 0.5 or below is to be considered a low confidence.

unused_phrases: Vec<String>

A list of unused phrases. Clients should display a Did You Mean (DYM) dialog if this is non-empty, even if this is the only interpretation.

human_readable: Option<HumanReadable>

Human readable representation of the query.

interpretation_structure: Option<InterpretationStructure>

Information about the interpretation structure that helps to understand and visualize the response.

data_query: Option<DataQuery>

Representation of the data query to be sent to the backend.

execution_info: Option<ExecutionInfo>

Information about the backend response. This is populated only if execution of an interpretation was requested.

Trait Implementations

impl Clone for Interpretation[src]

impl Debug for Interpretation[src]

impl Default for Interpretation[src]

impl Message for Interpretation[src]

impl PartialEq<Interpretation> for Interpretation[src]

impl StructuralPartialEq for Interpretation[src]

Auto Trait Implementations

impl RefUnwindSafe for Interpretation

impl Send for Interpretation

impl Sync for Interpretation

impl Unpin for Interpretation

impl UnwindSafe for Interpretation

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]