#[non_exhaustive]pub struct InferSnomedctOutput {
pub entities: Vec<SnomedctEntity>,
pub pagination_token: Option<String>,
pub model_version: Option<String>,
pub snomedct_details: Option<SnomedctDetails>,
pub characters: Option<Characters>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.entities: Vec<SnomedctEntity>
The collection of medical concept entities extracted from the input text and their associated information. For each entity, the response provides the entity text, the entity category, where the entity text begins and ends, and the level of confidence that Amazon Comprehend Medical has in the detection and analysis. Attributes and traits of the entity are also returned.
pagination_token: Option<String>
If the result of the request is truncated, the pagination token can be used to fetch the next page of entities.
model_version: Option<String>
The version of the model used to analyze the documents, in the format n.n.n You can use this information to track the model used for a particular batch of documents.
snomedct_details: Option<SnomedctDetails>
The details of the SNOMED-CT revision, including the edition, language, and version date.
characters: Option<Characters>
The number of characters in the input request documentation.
Implementations§
source§impl InferSnomedctOutput
impl InferSnomedctOutput
sourcepub fn entities(&self) -> &[SnomedctEntity]
pub fn entities(&self) -> &[SnomedctEntity]
The collection of medical concept entities extracted from the input text and their associated information. For each entity, the response provides the entity text, the entity category, where the entity text begins and ends, and the level of confidence that Amazon Comprehend Medical has in the detection and analysis. Attributes and traits of the entity are also returned.
sourcepub fn pagination_token(&self) -> Option<&str>
pub fn pagination_token(&self) -> Option<&str>
If the result of the request is truncated, the pagination token can be used to fetch the next page of entities.
sourcepub fn model_version(&self) -> Option<&str>
pub fn model_version(&self) -> Option<&str>
The version of the model used to analyze the documents, in the format n.n.n You can use this information to track the model used for a particular batch of documents.
sourcepub fn snomedct_details(&self) -> Option<&SnomedctDetails>
pub fn snomedct_details(&self) -> Option<&SnomedctDetails>
The details of the SNOMED-CT revision, including the edition, language, and version date.
sourcepub fn characters(&self) -> Option<&Characters>
pub fn characters(&self) -> Option<&Characters>
The number of characters in the input request documentation.
source§impl InferSnomedctOutput
impl InferSnomedctOutput
sourcepub fn builder() -> InferSnomedctOutputBuilder
pub fn builder() -> InferSnomedctOutputBuilder
Creates a new builder-style object to manufacture InferSnomedctOutput
.
Trait Implementations§
source§impl Clone for InferSnomedctOutput
impl Clone for InferSnomedctOutput
source§fn clone(&self) -> InferSnomedctOutput
fn clone(&self) -> InferSnomedctOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InferSnomedctOutput
impl Debug for InferSnomedctOutput
source§impl PartialEq for InferSnomedctOutput
impl PartialEq for InferSnomedctOutput
source§fn eq(&self, other: &InferSnomedctOutput) -> bool
fn eq(&self, other: &InferSnomedctOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for InferSnomedctOutput
impl RequestId for InferSnomedctOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for InferSnomedctOutput
Auto Trait Implementations§
impl Freeze for InferSnomedctOutput
impl RefUnwindSafe for InferSnomedctOutput
impl Send for InferSnomedctOutput
impl Sync for InferSnomedctOutput
impl Unpin for InferSnomedctOutput
impl UnwindSafe for InferSnomedctOutput
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
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>
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>
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 more