pub struct Builder<T>(/* private fields */);
Expand description
A builder for RunDataReviewSummary
Implementations§
Source§impl Builder<EvaluationStatusStage>
impl Builder<EvaluationStatusStage>
Sourcepub fn evaluation_status(
self,
evaluation_status: RunDataReviewEvaluationStatus,
) -> Builder<TotalIssueCountStage>
pub fn evaluation_status( self, evaluation_status: RunDataReviewEvaluationStatus, ) -> Builder<TotalIssueCountStage>
Sets the evaluation_status
field.
Source§impl Builder<TotalIssueCountStage>
impl Builder<TotalIssueCountStage>
Sourcepub fn total_issue_count(
self,
total_issue_count: i32,
) -> Builder<ReviewedIssueCountStage>
pub fn total_issue_count( self, total_issue_count: i32, ) -> Builder<ReviewedIssueCountStage>
Sets the total_issue_count
field.
Source§impl Builder<ReviewedIssueCountStage>
impl Builder<ReviewedIssueCountStage>
Sourcepub fn reviewed_issue_count(
self,
reviewed_issue_count: i32,
) -> Builder<IssuesWithFurtherActionCountStage>
pub fn reviewed_issue_count( self, reviewed_issue_count: i32, ) -> Builder<IssuesWithFurtherActionCountStage>
Sets the reviewed_issue_count
field.
Source§impl Builder<IssuesWithFurtherActionCountStage>
impl Builder<IssuesWithFurtherActionCountStage>
Sourcepub fn issues_with_further_action_count(
self,
issues_with_further_action_count: i32,
) -> Builder<ExecutionErrorCountStage>
pub fn issues_with_further_action_count( self, issues_with_further_action_count: i32, ) -> Builder<ExecutionErrorCountStage>
Sets the issues_with_further_action_count
field.
Source§impl Builder<ExecutionErrorCountStage>
impl Builder<ExecutionErrorCountStage>
Sourcepub fn execution_error_count(
self,
execution_error_count: i32,
) -> Builder<Complete>
pub fn execution_error_count( self, execution_error_count: i32, ) -> Builder<Complete>
Sets the execution_error_count
field.
Source§impl Builder<Complete>
impl Builder<Complete>
Sourcepub fn evaluation_status(
self,
evaluation_status: RunDataReviewEvaluationStatus,
) -> Self
pub fn evaluation_status( self, evaluation_status: RunDataReviewEvaluationStatus, ) -> Self
Sets the evaluation_status
field.
Sourcepub fn total_issue_count(self, total_issue_count: i32) -> Self
pub fn total_issue_count(self, total_issue_count: i32) -> Self
Sets the total_issue_count
field.
Sourcepub fn reviewed_issue_count(self, reviewed_issue_count: i32) -> Self
pub fn reviewed_issue_count(self, reviewed_issue_count: i32) -> Self
Sets the reviewed_issue_count
field.
Sourcepub fn issues_with_further_action_count(
self,
issues_with_further_action_count: i32,
) -> Self
pub fn issues_with_further_action_count( self, issues_with_further_action_count: i32, ) -> Self
Sets the issues_with_further_action_count
field.
Sourcepub fn execution_error_count(self, execution_error_count: i32) -> Self
pub fn execution_error_count(self, execution_error_count: i32) -> Self
Sets the execution_error_count
field.
Sourcepub fn build(self) -> RunDataReviewSummary
pub fn build(self) -> RunDataReviewSummary
Consumes the builder, returning a RunDataReviewSummary
.
Trait Implementations§
Source§impl Default for Builder<EvaluationStatusStage>
impl Default for Builder<EvaluationStatusStage>
Source§impl From<RunDataReviewSummary> for Builder<Complete>
impl From<RunDataReviewSummary> for Builder<Complete>
Source§fn from(v: RunDataReviewSummary) -> Self
fn from(v: RunDataReviewSummary) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for Builder<T>where
T: Freeze,
impl<T> RefUnwindSafe for Builder<T>where
T: RefUnwindSafe,
impl<T> Send for Builder<T>where
T: Send,
impl<T> Sync for Builder<T>where
T: Sync,
impl<T> Unpin for Builder<T>where
T: Unpin,
impl<T> UnwindSafe for Builder<T>where
T: UnwindSafe,
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request