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