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
impl StructuralPartialEq for ServiceSyncConfig
Auto Trait Implementations§
impl Freeze for ServiceSyncConfig
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> 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.