Struct aws_sdk_proton::operation::create_template_sync_config::CreateTemplateSyncConfigInput
source · #[non_exhaustive]pub struct CreateTemplateSyncConfigInput {
pub template_name: Option<String>,
pub template_type: Option<TemplateType>,
pub repository_provider: Option<RepositoryProvider>,
pub repository_name: Option<String>,
pub branch: Option<String>,
pub subdirectory: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.template_name: Option<String>
The name of your registered template.
template_type: Option<TemplateType>
The type of the registered template.
repository_provider: Option<RepositoryProvider>
The provider type for your repository.
repository_name: Option<String>
The repository name (for example, myrepos/myrepo
).
branch: Option<String>
The repository branch for your template.
subdirectory: Option<String>
A repository subdirectory path to your template bundle directory. When included, Proton limits the template bundle search to this repository directory.
Implementations§
source§impl CreateTemplateSyncConfigInput
impl CreateTemplateSyncConfigInput
sourcepub fn template_name(&self) -> Option<&str>
pub fn template_name(&self) -> Option<&str>
The name of your registered template.
sourcepub fn template_type(&self) -> Option<&TemplateType>
pub fn template_type(&self) -> Option<&TemplateType>
The type of the registered template.
sourcepub fn repository_provider(&self) -> Option<&RepositoryProvider>
pub fn repository_provider(&self) -> Option<&RepositoryProvider>
The provider type for your repository.
sourcepub fn repository_name(&self) -> Option<&str>
pub fn repository_name(&self) -> Option<&str>
The repository name (for example, myrepos/myrepo
).
sourcepub fn subdirectory(&self) -> Option<&str>
pub fn subdirectory(&self) -> Option<&str>
A repository subdirectory path to your template bundle directory. When included, Proton limits the template bundle search to this repository directory.
source§impl CreateTemplateSyncConfigInput
impl CreateTemplateSyncConfigInput
sourcepub fn builder() -> CreateTemplateSyncConfigInputBuilder
pub fn builder() -> CreateTemplateSyncConfigInputBuilder
Creates a new builder-style object to manufacture CreateTemplateSyncConfigInput
.
Trait Implementations§
source§impl Clone for CreateTemplateSyncConfigInput
impl Clone for CreateTemplateSyncConfigInput
source§fn clone(&self) -> CreateTemplateSyncConfigInput
fn clone(&self) -> CreateTemplateSyncConfigInput
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 PartialEq for CreateTemplateSyncConfigInput
impl PartialEq for CreateTemplateSyncConfigInput
source§fn eq(&self, other: &CreateTemplateSyncConfigInput) -> bool
fn eq(&self, other: &CreateTemplateSyncConfigInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateTemplateSyncConfigInput
Auto Trait Implementations§
impl Freeze for CreateTemplateSyncConfigInput
impl RefUnwindSafe for CreateTemplateSyncConfigInput
impl Send for CreateTemplateSyncConfigInput
impl Sync for CreateTemplateSyncConfigInput
impl Unpin for CreateTemplateSyncConfigInput
impl UnwindSafe for CreateTemplateSyncConfigInput
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.