Struct aws_sdk_apprunner::types::CodeRepository
source · #[non_exhaustive]pub struct CodeRepository {
pub repository_url: Option<String>,
pub source_code_version: Option<SourceCodeVersion>,
pub code_configuration: Option<CodeConfiguration>,
}
Expand description
Describes a source code repository.
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.repository_url: Option<String>
The location of the repository that contains the source code.
source_code_version: Option<SourceCodeVersion>
The version that should be used within the source code repository.
code_configuration: Option<CodeConfiguration>
Configuration for building and running the service from a source code repository.
CodeConfiguration
is required only for CreateService
request.
Implementations§
source§impl CodeRepository
impl CodeRepository
sourcepub fn repository_url(&self) -> Option<&str>
pub fn repository_url(&self) -> Option<&str>
The location of the repository that contains the source code.
sourcepub fn source_code_version(&self) -> Option<&SourceCodeVersion>
pub fn source_code_version(&self) -> Option<&SourceCodeVersion>
The version that should be used within the source code repository.
sourcepub fn code_configuration(&self) -> Option<&CodeConfiguration>
pub fn code_configuration(&self) -> Option<&CodeConfiguration>
Configuration for building and running the service from a source code repository.
CodeConfiguration
is required only for CreateService
request.
source§impl CodeRepository
impl CodeRepository
sourcepub fn builder() -> CodeRepositoryBuilder
pub fn builder() -> CodeRepositoryBuilder
Creates a new builder-style object to manufacture CodeRepository
.
Trait Implementations§
source§impl Clone for CodeRepository
impl Clone for CodeRepository
source§fn clone(&self) -> CodeRepository
fn clone(&self) -> CodeRepository
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 CodeRepository
impl Debug for CodeRepository
source§impl PartialEq<CodeRepository> for CodeRepository
impl PartialEq<CodeRepository> for CodeRepository
source§fn eq(&self, other: &CodeRepository) -> bool
fn eq(&self, other: &CodeRepository) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CodeRepository
Auto Trait Implementations§
impl RefUnwindSafe for CodeRepository
impl Send for CodeRepository
impl Sync for CodeRepository
impl Unpin for CodeRepository
impl UnwindSafe for CodeRepository
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