#[non_exhaustive]pub struct Icd10CmTraitBuilder { /* private fields */ }
Expand description
A builder for Icd10CmTrait
.
Implementations§
source§impl Icd10CmTraitBuilder
impl Icd10CmTraitBuilder
sourcepub fn name(self, input: Icd10CmTraitName) -> Self
pub fn name(self, input: Icd10CmTraitName) -> Self
Provides a name or contextual description about the trait.
sourcepub fn set_name(self, input: Option<Icd10CmTraitName>) -> Self
pub fn set_name(self, input: Option<Icd10CmTraitName>) -> Self
Provides a name or contextual description about the trait.
sourcepub fn get_name(&self) -> &Option<Icd10CmTraitName>
pub fn get_name(&self) -> &Option<Icd10CmTraitName>
Provides a name or contextual description about the trait.
sourcepub fn score(self, input: f32) -> Self
pub fn score(self, input: f32) -> Self
The level of confidence that Amazon Comprehend Medical has that the segment of text is correctly recognized as a trait.
sourcepub fn set_score(self, input: Option<f32>) -> Self
pub fn set_score(self, input: Option<f32>) -> Self
The level of confidence that Amazon Comprehend Medical has that the segment of text is correctly recognized as a trait.
sourcepub fn get_score(&self) -> &Option<f32>
pub fn get_score(&self) -> &Option<f32>
The level of confidence that Amazon Comprehend Medical has that the segment of text is correctly recognized as a trait.
sourcepub fn build(self) -> Icd10CmTrait
pub fn build(self) -> Icd10CmTrait
Consumes the builder and constructs a Icd10CmTrait
.
Trait Implementations§
source§impl Clone for Icd10CmTraitBuilder
impl Clone for Icd10CmTraitBuilder
source§fn clone(&self) -> Icd10CmTraitBuilder
fn clone(&self) -> Icd10CmTraitBuilder
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 Icd10CmTraitBuilder
impl Debug for Icd10CmTraitBuilder
source§impl Default for Icd10CmTraitBuilder
impl Default for Icd10CmTraitBuilder
source§fn default() -> Icd10CmTraitBuilder
fn default() -> Icd10CmTraitBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for Icd10CmTraitBuilder
impl PartialEq for Icd10CmTraitBuilder
source§fn eq(&self, other: &Icd10CmTraitBuilder) -> bool
fn eq(&self, other: &Icd10CmTraitBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Icd10CmTraitBuilder
Auto Trait Implementations§
impl Freeze for Icd10CmTraitBuilder
impl RefUnwindSafe for Icd10CmTraitBuilder
impl Send for Icd10CmTraitBuilder
impl Sync for Icd10CmTraitBuilder
impl Unpin for Icd10CmTraitBuilder
impl UnwindSafe for Icd10CmTraitBuilder
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.