Struct google_language1_beta1::api::Features
source · pub struct Features {
pub extract_document_sentiment: Option<bool>,
pub extract_entities: Option<bool>,
pub extract_syntax: Option<bool>,
}
Expand description
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§
§extract_document_sentiment: Option<bool>
Extract document-level sentiment.
extract_entities: Option<bool>
Extract entities.
extract_syntax: Option<bool>
Extract syntax information.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Features
impl<'de> Deserialize<'de> for Features
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for Features
Auto Trait Implementations§
impl RefUnwindSafe for Features
impl Send for Features
impl Sync for Features
impl Unpin for Features
impl UnwindSafe for Features
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more