Struct aws_sdk_apprunner::types::CodeRepository
source · #[non_exhaustive]pub struct CodeRepository {
pub repository_url: String,
pub source_code_version: Option<SourceCodeVersion>,
pub code_configuration: Option<CodeConfiguration>,
pub source_directory: Option<String>,
}
Expand description
Describes a source code repository.
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.repository_url: 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.
source_directory: Option<String>
The path of the directory that stores source code and configuration files. The build and start commands also execute from here. The path is absolute from root and, if not specified, defaults to the repository root.
Implementations§
source§impl CodeRepository
impl CodeRepository
sourcepub fn repository_url(&self) -> &str
pub fn repository_url(&self) -> &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.
sourcepub fn source_directory(&self) -> Option<&str>
pub fn source_directory(&self) -> Option<&str>
The path of the directory that stores source code and configuration files. The build and start commands also execute from here. The path is absolute from root and, if not specified, defaults to the repository root.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CodeRepository
impl Debug for CodeRepository
source§impl PartialEq for CodeRepository
impl PartialEq for CodeRepository
impl StructuralPartialEq for CodeRepository
Auto Trait Implementations§
impl Freeze for CodeRepository
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
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>
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>
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 more