[−][src]Struct rusoto_comprehendmedical::Attribute
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 PartialEq<Attribute> for Attribute
[src]
impl Default for Attribute
[src]
impl Clone for Attribute
[src]
fn clone(&self) -> Attribute
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Attribute
[src]
impl<'de> Deserialize<'de> for Attribute
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Erased for T
impl<T> Same for T
type Output = T
Should always be Self