[−][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.
category: Option<String>
The category of attribute.
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 Amazon Comprehend Medical has that this attribute is correctly related to this entity.
relationship_type: Option<String>
The type of relationship between the entity and attribute. Type for the relationship is OVERLAP
, indicating that the entity occurred at the same time as the Date_Expression
.
score: Option<f32>
The level of confidence that Amazon 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 Clone for Attribute
[src]
impl Debug for Attribute
[src]
impl Default for Attribute
[src]
impl<'de> Deserialize<'de> for Attribute
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<Attribute> for Attribute
[src]
impl StructuralPartialEq for Attribute
[src]
Auto Trait Implementations
impl RefUnwindSafe for Attribute
[src]
impl Send for Attribute
[src]
impl Sync for Attribute
[src]
impl Unpin for Attribute
[src]
impl UnwindSafe for Attribute
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,