#[non_exhaustive]pub struct UnmappedAttributeBuilder { /* private fields */ }
Expand description
A builder for UnmappedAttribute
.
Implementations§
source§impl UnmappedAttributeBuilder
impl UnmappedAttributeBuilder
sourcepub fn type(self, input: EntityType) -> Self
pub fn type(self, input: EntityType) -> Self
The type of the unmapped attribute, could be one of the following values: "MEDICATION", "MEDICAL_CONDITION", "ANATOMY", "TEST_AND_TREATMENT_PROCEDURE" or "PROTECTED_HEALTH_INFORMATION".
sourcepub fn set_type(self, input: Option<EntityType>) -> Self
pub fn set_type(self, input: Option<EntityType>) -> Self
The type of the unmapped attribute, could be one of the following values: "MEDICATION", "MEDICAL_CONDITION", "ANATOMY", "TEST_AND_TREATMENT_PROCEDURE" or "PROTECTED_HEALTH_INFORMATION".
sourcepub fn get_type(&self) -> &Option<EntityType>
pub fn get_type(&self) -> &Option<EntityType>
The type of the unmapped attribute, could be one of the following values: "MEDICATION", "MEDICAL_CONDITION", "ANATOMY", "TEST_AND_TREATMENT_PROCEDURE" or "PROTECTED_HEALTH_INFORMATION".
sourcepub fn attribute(self, input: Attribute) -> Self
pub fn attribute(self, input: Attribute) -> Self
The specific attribute that has been extracted but not mapped to an entity.
sourcepub fn set_attribute(self, input: Option<Attribute>) -> Self
pub fn set_attribute(self, input: Option<Attribute>) -> Self
The specific attribute that has been extracted but not mapped to an entity.
sourcepub fn get_attribute(&self) -> &Option<Attribute>
pub fn get_attribute(&self) -> &Option<Attribute>
The specific attribute that has been extracted but not mapped to an entity.
sourcepub fn build(self) -> UnmappedAttribute
pub fn build(self) -> UnmappedAttribute
Consumes the builder and constructs a UnmappedAttribute
.
Trait Implementations§
source§impl Clone for UnmappedAttributeBuilder
impl Clone for UnmappedAttributeBuilder
source§fn clone(&self) -> UnmappedAttributeBuilder
fn clone(&self) -> UnmappedAttributeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UnmappedAttributeBuilder
impl Debug for UnmappedAttributeBuilder
source§impl Default for UnmappedAttributeBuilder
impl Default for UnmappedAttributeBuilder
source§fn default() -> UnmappedAttributeBuilder
fn default() -> UnmappedAttributeBuilder
source§impl PartialEq for UnmappedAttributeBuilder
impl PartialEq for UnmappedAttributeBuilder
source§fn eq(&self, other: &UnmappedAttributeBuilder) -> bool
fn eq(&self, other: &UnmappedAttributeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UnmappedAttributeBuilder
Auto Trait Implementations§
impl Freeze for UnmappedAttributeBuilder
impl RefUnwindSafe for UnmappedAttributeBuilder
impl Send for UnmappedAttributeBuilder
impl Sync for UnmappedAttributeBuilder
impl Unpin for UnmappedAttributeBuilder
impl UnwindSafe for UnmappedAttributeBuilder
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