#[non_exhaustive]pub struct UpdateCodeRepositoryInput {
pub code_repository_name: Option<String>,
pub git_config: Option<GitConfigForUpdate>,
}
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.code_repository_name: Option<String>
The name of the Git repository to update.
git_config: Option<GitConfigForUpdate>
The configuration of the git repository, including the URL and the Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the repository. The secret must have a staging label of AWSCURRENT
and must be in the following format:
{"username": UserName, "password": Password}
Implementations§
source§impl UpdateCodeRepositoryInput
impl UpdateCodeRepositoryInput
sourcepub fn code_repository_name(&self) -> Option<&str>
pub fn code_repository_name(&self) -> Option<&str>
The name of the Git repository to update.
sourcepub fn git_config(&self) -> Option<&GitConfigForUpdate>
pub fn git_config(&self) -> Option<&GitConfigForUpdate>
The configuration of the git repository, including the URL and the Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the repository. The secret must have a staging label of AWSCURRENT
and must be in the following format:
{"username": UserName, "password": Password}
source§impl UpdateCodeRepositoryInput
impl UpdateCodeRepositoryInput
sourcepub fn builder() -> UpdateCodeRepositoryInputBuilder
pub fn builder() -> UpdateCodeRepositoryInputBuilder
Creates a new builder-style object to manufacture UpdateCodeRepositoryInput
.
Trait Implementations§
source§impl Clone for UpdateCodeRepositoryInput
impl Clone for UpdateCodeRepositoryInput
source§fn clone(&self) -> UpdateCodeRepositoryInput
fn clone(&self) -> UpdateCodeRepositoryInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateCodeRepositoryInput
impl Debug for UpdateCodeRepositoryInput
source§impl PartialEq for UpdateCodeRepositoryInput
impl PartialEq for UpdateCodeRepositoryInput
source§fn eq(&self, other: &UpdateCodeRepositoryInput) -> bool
fn eq(&self, other: &UpdateCodeRepositoryInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateCodeRepositoryInput
Auto Trait Implementations§
impl Freeze for UpdateCodeRepositoryInput
impl RefUnwindSafe for UpdateCodeRepositoryInput
impl Send for UpdateCodeRepositoryInput
impl Sync for UpdateCodeRepositoryInput
impl Unpin for UpdateCodeRepositoryInput
impl UnwindSafe for UpdateCodeRepositoryInput
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