#[non_exhaustive]pub struct RelatedObservationsBuilder { /* private fields */ }
Expand description
A builder for RelatedObservations
.
Implementations§
source§impl RelatedObservationsBuilder
impl RelatedObservationsBuilder
sourcepub fn observation_list(self, input: Observation) -> Self
pub fn observation_list(self, input: Observation) -> Self
Appends an item to observation_list
.
To override the contents of this collection use set_observation_list
.
The list of observations related to the problem.
sourcepub fn set_observation_list(self, input: Option<Vec<Observation>>) -> Self
pub fn set_observation_list(self, input: Option<Vec<Observation>>) -> Self
The list of observations related to the problem.
sourcepub fn get_observation_list(&self) -> &Option<Vec<Observation>>
pub fn get_observation_list(&self) -> &Option<Vec<Observation>>
The list of observations related to the problem.
sourcepub fn build(self) -> RelatedObservations
pub fn build(self) -> RelatedObservations
Consumes the builder and constructs a RelatedObservations
.
Trait Implementations§
source§impl Clone for RelatedObservationsBuilder
impl Clone for RelatedObservationsBuilder
source§fn clone(&self) -> RelatedObservationsBuilder
fn clone(&self) -> RelatedObservationsBuilder
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 RelatedObservationsBuilder
impl Debug for RelatedObservationsBuilder
source§impl Default for RelatedObservationsBuilder
impl Default for RelatedObservationsBuilder
source§fn default() -> RelatedObservationsBuilder
fn default() -> RelatedObservationsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RelatedObservationsBuilder
impl PartialEq for RelatedObservationsBuilder
source§fn eq(&self, other: &RelatedObservationsBuilder) -> bool
fn eq(&self, other: &RelatedObservationsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RelatedObservationsBuilder
Auto Trait Implementations§
impl Freeze for RelatedObservationsBuilder
impl RefUnwindSafe for RelatedObservationsBuilder
impl Send for RelatedObservationsBuilder
impl Sync for RelatedObservationsBuilder
impl Unpin for RelatedObservationsBuilder
impl UnwindSafe for RelatedObservationsBuilder
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.