Struct aws_sdk_proton::types::TemplateSyncConfig
source · #[non_exhaustive]pub struct TemplateSyncConfig {
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>,
}
Expand description
The detail data for a template sync configuration.
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 template name.
template_type: Option<TemplateType>
The template type.
repository_provider: Option<RepositoryProvider>
The repository provider.
repository_name: Option<String>
The repository name (for example, myrepos/myrepo
).
branch: Option<String>
The repository branch.
subdirectory: Option<String>
A subdirectory path to your template bundle version.
Implementations§
source§impl TemplateSyncConfig
impl TemplateSyncConfig
sourcepub fn template_name(&self) -> Option<&str>
pub fn template_name(&self) -> Option<&str>
The template name.
sourcepub fn template_type(&self) -> Option<&TemplateType>
pub fn template_type(&self) -> Option<&TemplateType>
The template type.
sourcepub fn repository_provider(&self) -> Option<&RepositoryProvider>
pub fn repository_provider(&self) -> Option<&RepositoryProvider>
The repository provider.
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 subdirectory path to your template bundle version.
source§impl TemplateSyncConfig
impl TemplateSyncConfig
sourcepub fn builder() -> TemplateSyncConfigBuilder
pub fn builder() -> TemplateSyncConfigBuilder
Creates a new builder-style object to manufacture TemplateSyncConfig
.
Trait Implementations§
source§impl Clone for TemplateSyncConfig
impl Clone for TemplateSyncConfig
source§fn clone(&self) -> TemplateSyncConfig
fn clone(&self) -> TemplateSyncConfig
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 TemplateSyncConfig
impl Debug for TemplateSyncConfig
source§impl PartialEq for TemplateSyncConfig
impl PartialEq for TemplateSyncConfig
source§fn eq(&self, other: &TemplateSyncConfig) -> bool
fn eq(&self, other: &TemplateSyncConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TemplateSyncConfig
Auto Trait Implementations§
impl RefUnwindSafe for TemplateSyncConfig
impl Send for TemplateSyncConfig
impl Sync for TemplateSyncConfig
impl Unpin for TemplateSyncConfig
impl UnwindSafe for TemplateSyncConfig
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