Struct aws_sdk_apprunner::model::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
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
sourceimpl 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.
sourceimpl CodeRepository
impl CodeRepository
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CodeRepository
Trait Implementations
sourceimpl Clone for CodeRepository
impl Clone for CodeRepository
sourcefn clone(&self) -> CodeRepository
fn clone(&self) -> CodeRepository
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 CodeRepository
impl Debug for CodeRepository
sourceimpl PartialEq<CodeRepository> for CodeRepository
impl PartialEq<CodeRepository> for CodeRepository
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &CodeRepository) -> bool
fn ne(&self, other: &CodeRepository) -> bool
This method tests for !=
.
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
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