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