#[non_exhaustive]pub struct CreateRepositoryInput {
pub repository_name: Option<String>,
pub catalog_data: Option<RepositoryCatalogDataInput>,
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.repository_name: Option<String>The name to use for the repository. This appears publicly in the Amazon ECR Public Gallery. The repository name can be specified on its own (for example nginx-web-app) or prepended with a namespace to group the repository into a category (for example project-a/nginx-web-app).
catalog_data: Option<RepositoryCatalogDataInput>The details about the repository that are publicly visible in the Amazon ECR Public Gallery.
The metadata that you apply to each repository to help categorize and organize your repositories. Each tag consists of a key and an optional value. You define both of them. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
Implementations§
source§impl CreateRepositoryInput
impl CreateRepositoryInput
sourcepub fn repository_name(&self) -> Option<&str>
pub fn repository_name(&self) -> Option<&str>
The name to use for the repository. This appears publicly in the Amazon ECR Public Gallery. The repository name can be specified on its own (for example nginx-web-app) or prepended with a namespace to group the repository into a category (for example project-a/nginx-web-app).
sourcepub fn catalog_data(&self) -> Option<&RepositoryCatalogDataInput>
pub fn catalog_data(&self) -> Option<&RepositoryCatalogDataInput>
The details about the repository that are publicly visible in the Amazon ECR Public Gallery.
The metadata that you apply to each repository to help categorize and organize your repositories. Each tag consists of a key and an optional value. You define both of them. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
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 CreateRepositoryInput
impl CreateRepositoryInput
sourcepub fn builder() -> CreateRepositoryInputBuilder
pub fn builder() -> CreateRepositoryInputBuilder
Creates a new builder-style object to manufacture CreateRepositoryInput.
Trait Implementations§
source§impl Clone for CreateRepositoryInput
impl Clone for CreateRepositoryInput
source§fn clone(&self) -> CreateRepositoryInput
fn clone(&self) -> CreateRepositoryInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateRepositoryInput
impl Debug for CreateRepositoryInput
source§impl PartialEq for CreateRepositoryInput
impl PartialEq for CreateRepositoryInput
source§fn eq(&self, other: &CreateRepositoryInput) -> bool
fn eq(&self, other: &CreateRepositoryInput) -> bool
self and other values to be equal, and is used
by ==.