#[non_exhaustive]pub struct UnmappedAttribute {
pub type: Option<EntityType>,
pub attribute: Option<Attribute>,
}
Expand description
An attribute that was extracted, but Amazon Comprehend Medical was unable to relate to an entity.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.type: Option<EntityType>
The type of the unmapped attribute, could be one of the following values: "MEDICATION", "MEDICAL_CONDITION", "ANATOMY", "TEST_AND_TREATMENT_PROCEDURE" or "PROTECTED_HEALTH_INFORMATION".
attribute: Option<Attribute>
The specific attribute that has been extracted but not mapped to an entity.
Implementations§
source§impl UnmappedAttribute
impl UnmappedAttribute
sourcepub fn type(&self) -> Option<&EntityType>
pub fn type(&self) -> Option<&EntityType>
The type of the unmapped attribute, could be one of the following values: "MEDICATION", "MEDICAL_CONDITION", "ANATOMY", "TEST_AND_TREATMENT_PROCEDURE" or "PROTECTED_HEALTH_INFORMATION".
source§impl UnmappedAttribute
impl UnmappedAttribute
sourcepub fn builder() -> UnmappedAttributeBuilder
pub fn builder() -> UnmappedAttributeBuilder
Creates a new builder-style object to manufacture UnmappedAttribute
.
Trait Implementations§
source§impl Clone for UnmappedAttribute
impl Clone for UnmappedAttribute
source§fn clone(&self) -> UnmappedAttribute
fn clone(&self) -> UnmappedAttribute
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UnmappedAttribute
impl Debug for UnmappedAttribute
source§impl PartialEq for UnmappedAttribute
impl PartialEq for UnmappedAttribute
source§fn eq(&self, other: &UnmappedAttribute) -> bool
fn eq(&self, other: &UnmappedAttribute) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UnmappedAttribute
Auto Trait Implementations§
impl Freeze for UnmappedAttribute
impl RefUnwindSafe for UnmappedAttribute
impl Send for UnmappedAttribute
impl Sync for UnmappedAttribute
impl Unpin for UnmappedAttribute
impl UnwindSafe for UnmappedAttribute
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.