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