Struct aws_sdk_codecommit::operation::get_pull_request_approval_states::builders::GetPullRequestApprovalStatesOutputBuilder
source · #[non_exhaustive]pub struct GetPullRequestApprovalStatesOutputBuilder { /* private fields */ }Expand description
A builder for GetPullRequestApprovalStatesOutput.
Implementations§
source§impl GetPullRequestApprovalStatesOutputBuilder
impl GetPullRequestApprovalStatesOutputBuilder
sourcepub fn approvals(self, input: Approval) -> Self
pub fn approvals(self, input: Approval) -> Self
Appends an item to approvals.
To override the contents of this collection use set_approvals.
Information about users who have approved the pull request.
sourcepub fn set_approvals(self, input: Option<Vec<Approval>>) -> Self
pub fn set_approvals(self, input: Option<Vec<Approval>>) -> Self
Information about users who have approved the pull request.
sourcepub fn get_approvals(&self) -> &Option<Vec<Approval>>
pub fn get_approvals(&self) -> &Option<Vec<Approval>>
Information about users who have approved the pull request.
sourcepub fn build(self) -> GetPullRequestApprovalStatesOutput
pub fn build(self) -> GetPullRequestApprovalStatesOutput
Consumes the builder and constructs a GetPullRequestApprovalStatesOutput.
Trait Implementations§
source§impl Clone for GetPullRequestApprovalStatesOutputBuilder
impl Clone for GetPullRequestApprovalStatesOutputBuilder
source§fn clone(&self) -> GetPullRequestApprovalStatesOutputBuilder
fn clone(&self) -> GetPullRequestApprovalStatesOutputBuilder
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 Default for GetPullRequestApprovalStatesOutputBuilder
impl Default for GetPullRequestApprovalStatesOutputBuilder
source§fn default() -> GetPullRequestApprovalStatesOutputBuilder
fn default() -> GetPullRequestApprovalStatesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetPullRequestApprovalStatesOutputBuilder
impl PartialEq for GetPullRequestApprovalStatesOutputBuilder
source§fn eq(&self, other: &GetPullRequestApprovalStatesOutputBuilder) -> bool
fn eq(&self, other: &GetPullRequestApprovalStatesOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetPullRequestApprovalStatesOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetPullRequestApprovalStatesOutputBuilder
impl Send for GetPullRequestApprovalStatesOutputBuilder
impl Sync for GetPullRequestApprovalStatesOutputBuilder
impl Unpin for GetPullRequestApprovalStatesOutputBuilder
impl UnwindSafe for GetPullRequestApprovalStatesOutputBuilder
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>
Creates a shared type from an unshared type.