Struct aws_sdk_codecommit::operation::evaluate_pull_request_approval_rules::builders::EvaluatePullRequestApprovalRulesOutputBuilder
source · #[non_exhaustive]pub struct EvaluatePullRequestApprovalRulesOutputBuilder { /* private fields */ }Expand description
A builder for EvaluatePullRequestApprovalRulesOutput.
Implementations§
source§impl EvaluatePullRequestApprovalRulesOutputBuilder
impl EvaluatePullRequestApprovalRulesOutputBuilder
sourcepub fn evaluation(self, input: Evaluation) -> Self
pub fn evaluation(self, input: Evaluation) -> Self
The result of the evaluation, including the names of the rules whose conditions have been met (if any), the names of the rules whose conditions have not been met (if any), whether the pull request is in the approved state, and whether the pull request approval rule has been set aside by an override.
This field is required.sourcepub fn set_evaluation(self, input: Option<Evaluation>) -> Self
pub fn set_evaluation(self, input: Option<Evaluation>) -> Self
The result of the evaluation, including the names of the rules whose conditions have been met (if any), the names of the rules whose conditions have not been met (if any), whether the pull request is in the approved state, and whether the pull request approval rule has been set aside by an override.
sourcepub fn get_evaluation(&self) -> &Option<Evaluation>
pub fn get_evaluation(&self) -> &Option<Evaluation>
The result of the evaluation, including the names of the rules whose conditions have been met (if any), the names of the rules whose conditions have not been met (if any), whether the pull request is in the approved state, and whether the pull request approval rule has been set aside by an override.
sourcepub fn build(self) -> EvaluatePullRequestApprovalRulesOutput
pub fn build(self) -> EvaluatePullRequestApprovalRulesOutput
Consumes the builder and constructs a EvaluatePullRequestApprovalRulesOutput.
Trait Implementations§
source§impl Clone for EvaluatePullRequestApprovalRulesOutputBuilder
impl Clone for EvaluatePullRequestApprovalRulesOutputBuilder
source§fn clone(&self) -> EvaluatePullRequestApprovalRulesOutputBuilder
fn clone(&self) -> EvaluatePullRequestApprovalRulesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for EvaluatePullRequestApprovalRulesOutputBuilder
impl Default for EvaluatePullRequestApprovalRulesOutputBuilder
source§fn default() -> EvaluatePullRequestApprovalRulesOutputBuilder
fn default() -> EvaluatePullRequestApprovalRulesOutputBuilder
source§impl PartialEq for EvaluatePullRequestApprovalRulesOutputBuilder
impl PartialEq for EvaluatePullRequestApprovalRulesOutputBuilder
source§fn eq(&self, other: &EvaluatePullRequestApprovalRulesOutputBuilder) -> bool
fn eq(&self, other: &EvaluatePullRequestApprovalRulesOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for EvaluatePullRequestApprovalRulesOutputBuilder
Auto Trait Implementations§
impl Freeze for EvaluatePullRequestApprovalRulesOutputBuilder
impl RefUnwindSafe for EvaluatePullRequestApprovalRulesOutputBuilder
impl Send for EvaluatePullRequestApprovalRulesOutputBuilder
impl Sync for EvaluatePullRequestApprovalRulesOutputBuilder
impl Unpin for EvaluatePullRequestApprovalRulesOutputBuilder
impl UnwindSafe for EvaluatePullRequestApprovalRulesOutputBuilder
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
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more