#[non_exhaustive]pub struct EvaluationAnswerInputBuilder { /* private fields */ }
Expand description
A builder for EvaluationAnswerInput
.
Implementations§
source§impl EvaluationAnswerInputBuilder
impl EvaluationAnswerInputBuilder
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 build(self) -> EvaluationAnswerInput
pub fn build(self) -> EvaluationAnswerInput
Consumes the builder and constructs a EvaluationAnswerInput
.
Trait Implementations§
source§impl Clone for EvaluationAnswerInputBuilder
impl Clone for EvaluationAnswerInputBuilder
source§fn clone(&self) -> EvaluationAnswerInputBuilder
fn clone(&self) -> EvaluationAnswerInputBuilder
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 EvaluationAnswerInputBuilder
impl Debug for EvaluationAnswerInputBuilder
source§impl Default for EvaluationAnswerInputBuilder
impl Default for EvaluationAnswerInputBuilder
source§fn default() -> EvaluationAnswerInputBuilder
fn default() -> EvaluationAnswerInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<EvaluationAnswerInputBuilder> for EvaluationAnswerInputBuilder
impl PartialEq<EvaluationAnswerInputBuilder> for EvaluationAnswerInputBuilder
source§fn eq(&self, other: &EvaluationAnswerInputBuilder) -> bool
fn eq(&self, other: &EvaluationAnswerInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EvaluationAnswerInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for EvaluationAnswerInputBuilder
impl Send for EvaluationAnswerInputBuilder
impl Sync for EvaluationAnswerInputBuilder
impl Unpin for EvaluationAnswerInputBuilder
impl UnwindSafe for EvaluationAnswerInputBuilder
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