Struct aws_sdk_proton::model::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
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 name of the repository, for example myrepos/myrepo
.
branch: Option<String>
The repository branch.
subdirectory: Option<String>
A subdirectory path to your template bundle version.
Implementations
sourceimpl 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 name of the repository, for example myrepos/myrepo
.
sourcepub fn subdirectory(&self) -> Option<&str>
pub fn subdirectory(&self) -> Option<&str>
A subdirectory path to your template bundle version.
sourceimpl TemplateSyncConfig
impl TemplateSyncConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TemplateSyncConfig
Trait Implementations
sourceimpl Clone for TemplateSyncConfig
impl Clone for TemplateSyncConfig
sourcefn clone(&self) -> TemplateSyncConfig
fn clone(&self) -> TemplateSyncConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TemplateSyncConfig
impl Debug for TemplateSyncConfig
sourceimpl PartialEq<TemplateSyncConfig> for TemplateSyncConfig
impl PartialEq<TemplateSyncConfig> for TemplateSyncConfig
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &TemplateSyncConfig) -> bool
fn ne(&self, other: &TemplateSyncConfig) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more