Struct google_language1::api::Features[][src]

pub struct Features {
    pub classify_text: Option<bool>,
    pub extract_document_sentiment: Option<bool>,
    pub extract_entities: Option<bool>,
    pub extract_entity_sentiment: Option<bool>,
    pub extract_syntax: Option<bool>,
}

All available features for sentiment, syntax, and semantic analysis. Setting each one to true will enable that specific analysis for the input.

This type is not used in any activity, and only used as part of another schema.

Fields

classify_text: Option<bool>

Classify the full document into categories.

extract_document_sentiment: Option<bool>

Extract document-level sentiment.

extract_entities: Option<bool>

Extract entities.

extract_entity_sentiment: Option<bool>

Extract entities and their associated sentiment.

extract_syntax: Option<bool>

Extract syntax information.

Trait Implementations

impl Clone for Features[src]

impl Debug for Features[src]

impl Default for Features[src]

impl<'de> Deserialize<'de> for Features[src]

impl Part for Features[src]

impl Serialize for Features[src]

Auto Trait Implementations

impl RefUnwindSafe for Features[src]

impl Send for Features[src]

impl Sync for Features[src]

impl Unpin for Features[src]

impl UnwindSafe for Features[src]

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<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.