Struct aws_sdk_proton::types::ServiceSyncConfig
source · #[non_exhaustive]pub struct ServiceSyncConfig {
pub service_name: String,
pub repository_provider: RepositoryProvider,
pub repository_name: String,
pub branch: String,
pub file_path: String,
}
Expand description
Detailed data of the service 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.service_name: String
The name of the service that the service instance is added to.
repository_provider: RepositoryProvider
The name of the repository provider that holds the repository Proton will sync with.
repository_name: String
The name of the code repository that holds the service code Proton will sync with.
branch: String
The name of the code repository branch that holds the service code Proton will sync with.
file_path: String
The file path to the service sync configuration file.
Implementations§
source§impl ServiceSyncConfig
impl ServiceSyncConfig
sourcepub fn service_name(&self) -> &str
pub fn service_name(&self) -> &str
The name of the service that the service instance is added to.
sourcepub fn repository_provider(&self) -> &RepositoryProvider
pub fn repository_provider(&self) -> &RepositoryProvider
The name of the repository provider that holds the repository Proton will sync with.
sourcepub fn repository_name(&self) -> &str
pub fn repository_name(&self) -> &str
The name of the code repository that holds the service code Proton will sync with.
source§impl ServiceSyncConfig
impl ServiceSyncConfig
sourcepub fn builder() -> ServiceSyncConfigBuilder
pub fn builder() -> ServiceSyncConfigBuilder
Creates a new builder-style object to manufacture ServiceSyncConfig
.
Trait Implementations§
source§impl Clone for ServiceSyncConfig
impl Clone for ServiceSyncConfig
source§fn clone(&self) -> ServiceSyncConfig
fn clone(&self) -> ServiceSyncConfig
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 ServiceSyncConfig
impl Debug for ServiceSyncConfig
source§impl PartialEq for ServiceSyncConfig
impl PartialEq for ServiceSyncConfig
source§fn eq(&self, other: &ServiceSyncConfig) -> bool
fn eq(&self, other: &ServiceSyncConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ServiceSyncConfig
Auto Trait Implementations§
impl RefUnwindSafe for ServiceSyncConfig
impl Send for ServiceSyncConfig
impl Sync for ServiceSyncConfig
impl Unpin for ServiceSyncConfig
impl UnwindSafe for ServiceSyncConfig
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>
Creates a shared type from an unshared type.