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