[][src]Struct rusoto_comprehend::Entity

pub struct Entity {
    pub begin_offset: Option<i64>,
    pub end_offset: Option<i64>,
    pub score: Option<f32>,
    pub text: Option<String>,
    pub type_: Option<String>,
}

Provides information about an entity.

Fields

begin_offset: Option<i64>

A character offset in the input text that shows where the entity begins (the first character is at position 0). The offset returns the position of each UTF-8 code point in the string. A code point is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point.

end_offset: Option<i64>

A character offset in the input text that shows where the entity ends. The offset returns the position of each UTF-8 code point in the string. A code point is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point.

score: Option<f32>

The level of confidence that Amazon Comprehend has in the accuracy of the detection.

text: Option<String>

The text of the entity.

type_: Option<String>

The entity's type.

Trait Implementations

impl Clone for Entity[src]

impl Debug for Entity[src]

impl Default for Entity[src]

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

impl PartialEq<Entity> for Entity[src]

impl StructuralPartialEq for Entity[src]

Auto Trait Implementations

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> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

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.