pub struct AnalyzeEntitiesResponse {
pub entities: Option<Vec<Entity>>,
pub language: Option<String>,
}
Expand description
The entity analysis response message.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- analyze entities documents (response)
Fields§
§entities: Option<Vec<Entity>>
The recognized entities in the input document.
language: Option<String>
The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details.
Trait Implementations§
source§impl Clone for AnalyzeEntitiesResponse
impl Clone for AnalyzeEntitiesResponse
source§fn clone(&self) -> AnalyzeEntitiesResponse
fn clone(&self) -> AnalyzeEntitiesResponse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AnalyzeEntitiesResponse
impl Debug for AnalyzeEntitiesResponse
source§impl Default for AnalyzeEntitiesResponse
impl Default for AnalyzeEntitiesResponse
source§fn default() -> AnalyzeEntitiesResponse
fn default() -> AnalyzeEntitiesResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AnalyzeEntitiesResponse
impl<'de> Deserialize<'de> for AnalyzeEntitiesResponse
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
source§impl Serialize for AnalyzeEntitiesResponse
impl Serialize for AnalyzeEntitiesResponse
impl ResponseResult for AnalyzeEntitiesResponse
Auto Trait Implementations§
impl RefUnwindSafe for AnalyzeEntitiesResponse
impl Send for AnalyzeEntitiesResponse
impl Sync for AnalyzeEntitiesResponse
impl Unpin for AnalyzeEntitiesResponse
impl UnwindSafe for AnalyzeEntitiesResponse
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