Struct aws_sdk_proton::types::TemplateSyncConfig
source · #[non_exhaustive]pub struct TemplateSyncConfig {
pub template_name: String,
pub template_type: TemplateType,
pub repository_provider: RepositoryProvider,
pub repository_name: String,
pub branch: 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: String
The template name.
template_type: TemplateType
The template type.
repository_provider: RepositoryProvider
The repository provider.
repository_name: String
The repository name (for example, myrepos/myrepo
).
branch: 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) -> &str
pub fn template_name(&self) -> &str
The template name.
sourcepub fn template_type(&self) -> &TemplateType
pub fn template_type(&self) -> &TemplateType
The template type.
sourcepub fn repository_provider(&self) -> &RepositoryProvider
pub fn repository_provider(&self) -> &RepositoryProvider
The repository provider.
sourcepub fn repository_name(&self) -> &str
pub fn repository_name(&self) -> &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
impl StructuralPartialEq for TemplateSyncConfig
Auto Trait Implementations§
impl Freeze for TemplateSyncConfig
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.