Struct aws_sdk_codecommit::operation::update_pull_request_status::builders::UpdatePullRequestStatusOutputBuilder
source · #[non_exhaustive]pub struct UpdatePullRequestStatusOutputBuilder { /* private fields */ }
Expand description
A builder for UpdatePullRequestStatusOutput
.
Implementations§
source§impl UpdatePullRequestStatusOutputBuilder
impl UpdatePullRequestStatusOutputBuilder
sourcepub fn pull_request(self, input: PullRequest) -> Self
pub fn pull_request(self, input: PullRequest) -> Self
Information about the pull request.
This field is required.sourcepub fn set_pull_request(self, input: Option<PullRequest>) -> Self
pub fn set_pull_request(self, input: Option<PullRequest>) -> Self
Information about the pull request.
sourcepub fn get_pull_request(&self) -> &Option<PullRequest>
pub fn get_pull_request(&self) -> &Option<PullRequest>
Information about the pull request.
sourcepub fn build(self) -> UpdatePullRequestStatusOutput
pub fn build(self) -> UpdatePullRequestStatusOutput
Consumes the builder and constructs a UpdatePullRequestStatusOutput
.
Trait Implementations§
source§impl Clone for UpdatePullRequestStatusOutputBuilder
impl Clone for UpdatePullRequestStatusOutputBuilder
source§fn clone(&self) -> UpdatePullRequestStatusOutputBuilder
fn clone(&self) -> UpdatePullRequestStatusOutputBuilder
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 UpdatePullRequestStatusOutputBuilder
impl Default for UpdatePullRequestStatusOutputBuilder
source§fn default() -> UpdatePullRequestStatusOutputBuilder
fn default() -> UpdatePullRequestStatusOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdatePullRequestStatusOutputBuilder
impl PartialEq for UpdatePullRequestStatusOutputBuilder
source§fn eq(&self, other: &UpdatePullRequestStatusOutputBuilder) -> bool
fn eq(&self, other: &UpdatePullRequestStatusOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdatePullRequestStatusOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdatePullRequestStatusOutputBuilder
impl Send for UpdatePullRequestStatusOutputBuilder
impl Sync for UpdatePullRequestStatusOutputBuilder
impl Unpin for UpdatePullRequestStatusOutputBuilder
impl UnwindSafe for UpdatePullRequestStatusOutputBuilder
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.