Struct aws_sdk_codecommit::types::builders::LocationBuilder
source · #[non_exhaustive]pub struct LocationBuilder { /* private fields */ }Expand description
A builder for Location.
Implementations§
source§impl LocationBuilder
impl LocationBuilder
sourcepub fn file_path(self, input: impl Into<String>) -> Self
pub fn file_path(self, input: impl Into<String>) -> Self
The name of the file being compared, including its extension and subdirectory, if any.
sourcepub fn set_file_path(self, input: Option<String>) -> Self
pub fn set_file_path(self, input: Option<String>) -> Self
The name of the file being compared, including its extension and subdirectory, if any.
sourcepub fn get_file_path(&self) -> &Option<String>
pub fn get_file_path(&self) -> &Option<String>
The name of the file being compared, including its extension and subdirectory, if any.
sourcepub fn file_position(self, input: i64) -> Self
pub fn file_position(self, input: i64) -> Self
The position of a change in a compared file, in line number format.
sourcepub fn set_file_position(self, input: Option<i64>) -> Self
pub fn set_file_position(self, input: Option<i64>) -> Self
The position of a change in a compared file, in line number format.
sourcepub fn get_file_position(&self) -> &Option<i64>
pub fn get_file_position(&self) -> &Option<i64>
The position of a change in a compared file, in line number format.
sourcepub fn relative_file_version(self, input: RelativeFileVersionEnum) -> Self
pub fn relative_file_version(self, input: RelativeFileVersionEnum) -> Self
In a comparison of commits or a pull request, whether the change is in the before or after of that comparison.
sourcepub fn set_relative_file_version(
self,
input: Option<RelativeFileVersionEnum>
) -> Self
pub fn set_relative_file_version( self, input: Option<RelativeFileVersionEnum> ) -> Self
In a comparison of commits or a pull request, whether the change is in the before or after of that comparison.
sourcepub fn get_relative_file_version(&self) -> &Option<RelativeFileVersionEnum>
pub fn get_relative_file_version(&self) -> &Option<RelativeFileVersionEnum>
In a comparison of commits or a pull request, whether the change is in the before or after of that comparison.
Trait Implementations§
source§impl Clone for LocationBuilder
impl Clone for LocationBuilder
source§fn clone(&self) -> LocationBuilder
fn clone(&self) -> LocationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for LocationBuilder
impl Debug for LocationBuilder
source§impl Default for LocationBuilder
impl Default for LocationBuilder
source§fn default() -> LocationBuilder
fn default() -> LocationBuilder
source§impl PartialEq for LocationBuilder
impl PartialEq for LocationBuilder
source§fn eq(&self, other: &LocationBuilder) -> bool
fn eq(&self, other: &LocationBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LocationBuilder
Auto Trait Implementations§
impl Freeze for LocationBuilder
impl RefUnwindSafe for LocationBuilder
impl Send for LocationBuilder
impl Sync for LocationBuilder
impl Unpin for LocationBuilder
impl UnwindSafe for LocationBuilder
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
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>
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>
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 more