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