#[non_exhaustive]pub struct CreateCodeRepositoryInput {
pub code_repository_name: Option<String>,
pub git_config: Option<GitConfig>,
pub tags: Option<Vec<Tag>>,
}
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. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).
git_config: Option<GitConfig>
Specifies details about the repository, including the URL where the repository is located, the default branch, and credentials to use to access the repository.
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.
Implementations§
source§impl CreateCodeRepositoryInput
impl CreateCodeRepositoryInput
sourcepub fn code_repository_name(&self) -> Option<&str>
pub fn code_repository_name(&self) -> Option<&str>
The name of the Git repository. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).
sourcepub fn git_config(&self) -> Option<&GitConfig>
pub fn git_config(&self) -> Option<&GitConfig>
Specifies details about the repository, including the URL where the repository is located, the default branch, and credentials to use to access the repository.
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CreateCodeRepositoryInput
impl CreateCodeRepositoryInput
sourcepub fn builder() -> CreateCodeRepositoryInputBuilder
pub fn builder() -> CreateCodeRepositoryInputBuilder
Creates a new builder-style object to manufacture CreateCodeRepositoryInput
.
Trait Implementations§
source§impl Clone for CreateCodeRepositoryInput
impl Clone for CreateCodeRepositoryInput
source§fn clone(&self) -> CreateCodeRepositoryInput
fn clone(&self) -> CreateCodeRepositoryInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateCodeRepositoryInput
impl Debug for CreateCodeRepositoryInput
source§impl PartialEq for CreateCodeRepositoryInput
impl PartialEq for CreateCodeRepositoryInput
source§fn eq(&self, other: &CreateCodeRepositoryInput) -> bool
fn eq(&self, other: &CreateCodeRepositoryInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateCodeRepositoryInput
Auto Trait Implementations§
impl Freeze for CreateCodeRepositoryInput
impl RefUnwindSafe for CreateCodeRepositoryInput
impl Send for CreateCodeRepositoryInput
impl Sync for CreateCodeRepositoryInput
impl Unpin for CreateCodeRepositoryInput
impl UnwindSafe for CreateCodeRepositoryInput
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