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