[][src]Struct rusoto_comprehendmedical::Attribute

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

An extracted segment of the text that is an attribute of an entity, or otherwise related to an entity, such as the dosage of a medication taken. It contains information about the attribute such as id, begin and end offset within the input text, and the segment of the input text.

Fields

begin_offset: Option<i64>

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

end_offset: Option<i64>

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

id: Option<i64>

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

relationship_score: Option<f32>

The level of confidence that Comprehend Medical has that this attribute is correctly related to this entity.

score: Option<f32>

The level of confidence that Comprehend Medical has that the segment of text is correctly recognized as an attribute.

text: Option<String>

The segment of input text extracted as this attribute.

traits: Option<Vec<Trait>>

Contextual information for this attribute.

type_: Option<String>

The type of attribute.

Trait Implementations

impl Default for Attribute[src]

impl Clone for Attribute[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialEq<Attribute> for Attribute[src]

impl Debug for Attribute[src]

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

Auto Trait Implementations

impl Send for Attribute

impl Sync for Attribute

Blanket Implementations

impl<T> From<T> 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.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same<T> for T

type Output = T

Should always be Self