#[non_exhaustive]
pub struct Builder { /* private fields */ }
Expand description

A builder for Answer

Implementations

The ID of the question.

The ID of the question.

The ID used to identify a pillar, for example, security.

A pillar is identified by its PillarReviewSummary$PillarId.

The ID used to identify a pillar, for example, security.

A pillar is identified by its PillarReviewSummary$PillarId.

The title of the question.

The title of the question.

The description of the question.

The description of the question.

The improvement plan URL for a question.

This value is only available if the question has been answered.

The improvement plan URL for a question.

This value is only available if the question has been answered.

The helpful resource URL for a question.

The helpful resource URL for a question.

The helpful resource text to be displayed.

The helpful resource text to be displayed.

Appends an item to choices.

To override the contents of this collection use set_choices.

List of choices available for a question.

List of choices available for a question.

Appends an item to selected_choices.

To override the contents of this collection use set_selected_choices.

List of selected choice IDs in a question answer.

The values entered replace the previously selected choices.

List of selected choice IDs in a question answer.

The values entered replace the previously selected choices.

Appends an item to choice_answers.

To override the contents of this collection use set_choice_answers.

A list of selected choices to a question in your workload.

A list of selected choices to a question in your workload.

Defines whether this question is applicable to a lens review.

Defines whether this question is applicable to a lens review.

The risk for a given workload, lens review, pillar, or question.

The risk for a given workload, lens review, pillar, or question.

The notes associated with the workload.

The notes associated with the workload.

The reason why the question is not applicable to your workload.

The reason why the question is not applicable to your workload.

Consumes the builder and constructs a Answer

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more