[][src]Struct rusoto_comprehendmedical::Entity

pub struct Entity {
    pub attributes: Option<Vec<Attribute>>,
    pub begin_offset: Option<i64>,
    pub category: Option<String>,
    pub end_offset: Option<i64>,
    pub id: Option<i64>,
    pub score: Option<f32>,
    pub text: Option<String>,
    pub traits: Option<Vec<Trait>>,
    pub type_: Option<String>,
}

Provides information about an extracted medical entity.

Fields

attributes: Option<Vec<Attribute>>

The extracted attributes that relate to this entity.

begin_offset: Option<i64>

The 0-based character offset in the input text that shows where the entity begins. The offset returns the UTF-8 code point in the string.

category: Option<String>

The category of the entity.

end_offset: Option<i64>

The 0-based character offset in the input text that shows where the entity ends. The offset returns the UTF-8 code point in the string.

id: Option<i64>

The numeric identifier for the entity. This is a monotonically increasing id unique within this response rather than a global unique identifier.

score: Option<f32>

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

text: Option<String>

The segment of input text extracted as this entity.

traits: Option<Vec<Trait>>

Contextual information for the entity.

type_: Option<String>

Describes the specific type of entity with category of entities.

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.