#[non_exhaustive]pub struct EvaluationAnswerOutputBuilder { /* private fields */ }
Expand description
A builder for EvaluationAnswerOutput
.
Implementations§
source§impl EvaluationAnswerOutputBuilder
impl EvaluationAnswerOutputBuilder
sourcepub fn value(self, input: EvaluationAnswerData) -> Self
pub fn value(self, input: EvaluationAnswerData) -> Self
The value for an answer in a contact evaluation.
sourcepub fn set_value(self, input: Option<EvaluationAnswerData>) -> Self
pub fn set_value(self, input: Option<EvaluationAnswerData>) -> Self
The value for an answer in a contact evaluation.
sourcepub fn get_value(&self) -> &Option<EvaluationAnswerData>
pub fn get_value(&self) -> &Option<EvaluationAnswerData>
The value for an answer in a contact evaluation.
sourcepub fn system_suggested_value(self, input: EvaluationAnswerData) -> Self
pub fn system_suggested_value(self, input: EvaluationAnswerData) -> Self
The system suggested value for an answer in a contact evaluation.
sourcepub fn set_system_suggested_value(
self,
input: Option<EvaluationAnswerData>
) -> Self
pub fn set_system_suggested_value( self, input: Option<EvaluationAnswerData> ) -> Self
The system suggested value for an answer in a contact evaluation.
sourcepub fn get_system_suggested_value(&self) -> &Option<EvaluationAnswerData>
pub fn get_system_suggested_value(&self) -> &Option<EvaluationAnswerData>
The system suggested value for an answer in a contact evaluation.
sourcepub fn build(self) -> EvaluationAnswerOutput
pub fn build(self) -> EvaluationAnswerOutput
Consumes the builder and constructs a EvaluationAnswerOutput
.
Trait Implementations§
source§impl Clone for EvaluationAnswerOutputBuilder
impl Clone for EvaluationAnswerOutputBuilder
source§fn clone(&self) -> EvaluationAnswerOutputBuilder
fn clone(&self) -> EvaluationAnswerOutputBuilder
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 Default for EvaluationAnswerOutputBuilder
impl Default for EvaluationAnswerOutputBuilder
source§fn default() -> EvaluationAnswerOutputBuilder
fn default() -> EvaluationAnswerOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for EvaluationAnswerOutputBuilder
impl PartialEq for EvaluationAnswerOutputBuilder
source§fn eq(&self, other: &EvaluationAnswerOutputBuilder) -> bool
fn eq(&self, other: &EvaluationAnswerOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EvaluationAnswerOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for EvaluationAnswerOutputBuilder
impl Send for EvaluationAnswerOutputBuilder
impl Sync for EvaluationAnswerOutputBuilder
impl Unpin for EvaluationAnswerOutputBuilder
impl UnwindSafe for EvaluationAnswerOutputBuilder
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>
Creates a shared type from an unshared type.