Struct aws_sdk_codecommit::types::builders::SubModuleBuilder
source · #[non_exhaustive]pub struct SubModuleBuilder { /* private fields */ }Expand description
A builder for SubModule.
Implementations§
source§impl SubModuleBuilder
impl SubModuleBuilder
sourcepub fn commit_id(self, input: impl Into<String>) -> Self
pub fn commit_id(self, input: impl Into<String>) -> Self
The commit ID that contains the reference to the submodule.
sourcepub fn set_commit_id(self, input: Option<String>) -> Self
pub fn set_commit_id(self, input: Option<String>) -> Self
The commit ID that contains the reference to the submodule.
sourcepub fn get_commit_id(&self) -> &Option<String>
pub fn get_commit_id(&self) -> &Option<String>
The commit ID that contains the reference to the submodule.
sourcepub fn absolute_path(self, input: impl Into<String>) -> Self
pub fn absolute_path(self, input: impl Into<String>) -> Self
The fully qualified path to the folder that contains the reference to the submodule.
sourcepub fn set_absolute_path(self, input: Option<String>) -> Self
pub fn set_absolute_path(self, input: Option<String>) -> Self
The fully qualified path to the folder that contains the reference to the submodule.
sourcepub fn get_absolute_path(&self) -> &Option<String>
pub fn get_absolute_path(&self) -> &Option<String>
The fully qualified path to the folder that contains the reference to the submodule.
sourcepub fn relative_path(self, input: impl Into<String>) -> Self
pub fn relative_path(self, input: impl Into<String>) -> Self
The relative path of the submodule from the folder where the query originated.
sourcepub fn set_relative_path(self, input: Option<String>) -> Self
pub fn set_relative_path(self, input: Option<String>) -> Self
The relative path of the submodule from the folder where the query originated.
sourcepub fn get_relative_path(&self) -> &Option<String>
pub fn get_relative_path(&self) -> &Option<String>
The relative path of the submodule from the folder where the query originated.
Trait Implementations§
source§impl Clone for SubModuleBuilder
impl Clone for SubModuleBuilder
source§fn clone(&self) -> SubModuleBuilder
fn clone(&self) -> SubModuleBuilder
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 SubModuleBuilder
impl Debug for SubModuleBuilder
source§impl Default for SubModuleBuilder
impl Default for SubModuleBuilder
source§fn default() -> SubModuleBuilder
fn default() -> SubModuleBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SubModuleBuilder
impl PartialEq for SubModuleBuilder
source§fn eq(&self, other: &SubModuleBuilder) -> bool
fn eq(&self, other: &SubModuleBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SubModuleBuilder
Auto Trait Implementations§
impl Freeze for SubModuleBuilder
impl RefUnwindSafe for SubModuleBuilder
impl Send for SubModuleBuilder
impl Sync for SubModuleBuilder
impl Unpin for SubModuleBuilder
impl UnwindSafe for SubModuleBuilder
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.