Struct aws_sdk_codecommit::types::builders::FileModesBuilder
source · #[non_exhaustive]pub struct FileModesBuilder { /* private fields */ }Expand description
A builder for FileModes.
Implementations§
source§impl FileModesBuilder
impl FileModesBuilder
sourcepub fn source(self, input: FileModeTypeEnum) -> Self
pub fn source(self, input: FileModeTypeEnum) -> Self
The file mode of a file in the source of a merge or pull request.
sourcepub fn set_source(self, input: Option<FileModeTypeEnum>) -> Self
pub fn set_source(self, input: Option<FileModeTypeEnum>) -> Self
The file mode of a file in the source of a merge or pull request.
sourcepub fn get_source(&self) -> &Option<FileModeTypeEnum>
pub fn get_source(&self) -> &Option<FileModeTypeEnum>
The file mode of a file in the source of a merge or pull request.
sourcepub fn destination(self, input: FileModeTypeEnum) -> Self
pub fn destination(self, input: FileModeTypeEnum) -> Self
The file mode of a file in the destination of a merge or pull request.
sourcepub fn set_destination(self, input: Option<FileModeTypeEnum>) -> Self
pub fn set_destination(self, input: Option<FileModeTypeEnum>) -> Self
The file mode of a file in the destination of a merge or pull request.
sourcepub fn get_destination(&self) -> &Option<FileModeTypeEnum>
pub fn get_destination(&self) -> &Option<FileModeTypeEnum>
The file mode of a file in the destination of a merge or pull request.
sourcepub fn base(self, input: FileModeTypeEnum) -> Self
pub fn base(self, input: FileModeTypeEnum) -> Self
The file mode of a file in the base of a merge or pull request.
sourcepub fn set_base(self, input: Option<FileModeTypeEnum>) -> Self
pub fn set_base(self, input: Option<FileModeTypeEnum>) -> Self
The file mode of a file in the base of a merge or pull request.
sourcepub fn get_base(&self) -> &Option<FileModeTypeEnum>
pub fn get_base(&self) -> &Option<FileModeTypeEnum>
The file mode of a file in the base of a merge or pull request.
Trait Implementations§
source§impl Clone for FileModesBuilder
impl Clone for FileModesBuilder
source§fn clone(&self) -> FileModesBuilder
fn clone(&self) -> FileModesBuilder
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 FileModesBuilder
impl Debug for FileModesBuilder
source§impl Default for FileModesBuilder
impl Default for FileModesBuilder
source§fn default() -> FileModesBuilder
fn default() -> FileModesBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for FileModesBuilder
impl PartialEq for FileModesBuilder
source§fn eq(&self, other: &FileModesBuilder) -> bool
fn eq(&self, other: &FileModesBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for FileModesBuilder
Auto Trait Implementations§
impl RefUnwindSafe for FileModesBuilder
impl Send for FileModesBuilder
impl Sync for FileModesBuilder
impl Unpin for FileModesBuilder
impl UnwindSafe for FileModesBuilder
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.