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.
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<CreatePullRequestOutputBuilder> for CreatePullRequestOutputBuilder
impl PartialEq<CreatePullRequestOutputBuilder> 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 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