Struct aws_sdk_codecommit::types::builders::MergeHunkDetailBuilder
source · #[non_exhaustive]pub struct MergeHunkDetailBuilder { /* private fields */ }Expand description
A builder for MergeHunkDetail.
Implementations§
source§impl MergeHunkDetailBuilder
impl MergeHunkDetailBuilder
sourcepub fn start_line(self, input: i32) -> Self
pub fn start_line(self, input: i32) -> Self
The start position of the hunk in the merge result.
sourcepub fn set_start_line(self, input: Option<i32>) -> Self
pub fn set_start_line(self, input: Option<i32>) -> Self
The start position of the hunk in the merge result.
sourcepub fn get_start_line(&self) -> &Option<i32>
pub fn get_start_line(&self) -> &Option<i32>
The start position of the hunk in the merge result.
sourcepub fn set_end_line(self, input: Option<i32>) -> Self
pub fn set_end_line(self, input: Option<i32>) -> Self
The end position of the hunk in the merge result.
sourcepub fn get_end_line(&self) -> &Option<i32>
pub fn get_end_line(&self) -> &Option<i32>
The end position of the hunk in the merge result.
sourcepub fn hunk_content(self, input: impl Into<String>) -> Self
pub fn hunk_content(self, input: impl Into<String>) -> Self
The base-64 encoded content of the hunk merged region that might contain a conflict.
sourcepub fn set_hunk_content(self, input: Option<String>) -> Self
pub fn set_hunk_content(self, input: Option<String>) -> Self
The base-64 encoded content of the hunk merged region that might contain a conflict.
sourcepub fn get_hunk_content(&self) -> &Option<String>
pub fn get_hunk_content(&self) -> &Option<String>
The base-64 encoded content of the hunk merged region that might contain a conflict.
sourcepub fn build(self) -> MergeHunkDetail
pub fn build(self) -> MergeHunkDetail
Consumes the builder and constructs a MergeHunkDetail.
Trait Implementations§
source§impl Clone for MergeHunkDetailBuilder
impl Clone for MergeHunkDetailBuilder
source§fn clone(&self) -> MergeHunkDetailBuilder
fn clone(&self) -> MergeHunkDetailBuilder
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 Debug for MergeHunkDetailBuilder
impl Debug for MergeHunkDetailBuilder
source§impl Default for MergeHunkDetailBuilder
impl Default for MergeHunkDetailBuilder
source§fn default() -> MergeHunkDetailBuilder
fn default() -> MergeHunkDetailBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for MergeHunkDetailBuilder
impl PartialEq for MergeHunkDetailBuilder
source§fn eq(&self, other: &MergeHunkDetailBuilder) -> bool
fn eq(&self, other: &MergeHunkDetailBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for MergeHunkDetailBuilder
Auto Trait Implementations§
impl RefUnwindSafe for MergeHunkDetailBuilder
impl Send for MergeHunkDetailBuilder
impl Sync for MergeHunkDetailBuilder
impl Unpin for MergeHunkDetailBuilder
impl UnwindSafe for MergeHunkDetailBuilder
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.