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 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>
Creates a shared type from an unshared type.