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