Struct aws_sdk_ecrpublic::types::Repository
source · #[non_exhaustive]pub struct Repository {
pub repository_arn: Option<String>,
pub registry_id: Option<String>,
pub repository_name: Option<String>,
pub repository_uri: Option<String>,
pub created_at: Option<DateTime>,
}Expand description
An object representing a 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_arn: Option<String>The Amazon Resource Name (ARN) that identifies the repository. The ARN contains the arn:aws:ecr namespace, followed by the region of the repository, Amazon Web Services account ID of the repository owner, repository namespace, and repository name. For example, arn:aws:ecr:region:012345678910:repository/test.
registry_id: Option<String>The Amazon Web Services account ID that's associated with the public registry that contains the repository.
repository_name: Option<String>The name of the repository.
repository_uri: Option<String>The URI for the repository. You can use this URI for container image push and pull operations.
created_at: Option<DateTime>The date and time, in JavaScript date format, when the repository was created.
Implementations§
source§impl Repository
impl Repository
sourcepub fn repository_arn(&self) -> Option<&str>
pub fn repository_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) that identifies the repository. The ARN contains the arn:aws:ecr namespace, followed by the region of the repository, Amazon Web Services account ID of the repository owner, repository namespace, and repository name. For example, arn:aws:ecr:region:012345678910:repository/test.
sourcepub fn registry_id(&self) -> Option<&str>
pub fn registry_id(&self) -> Option<&str>
The Amazon Web Services account ID that's associated with the public registry that contains the repository.
sourcepub fn repository_name(&self) -> Option<&str>
pub fn repository_name(&self) -> Option<&str>
The name of the repository.
sourcepub fn repository_uri(&self) -> Option<&str>
pub fn repository_uri(&self) -> Option<&str>
The URI for the repository. You can use this URI for container image push and pull operations.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The date and time, in JavaScript date format, when the repository was created.
source§impl Repository
impl Repository
sourcepub fn builder() -> RepositoryBuilder
pub fn builder() -> RepositoryBuilder
Creates a new builder-style object to manufacture Repository.
Trait Implementations§
source§impl Clone for Repository
impl Clone for Repository
source§fn clone(&self) -> Repository
fn clone(&self) -> Repository
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for Repository
impl Debug for Repository
source§impl PartialEq for Repository
impl PartialEq for Repository
source§fn eq(&self, other: &Repository) -> bool
fn eq(&self, other: &Repository) -> bool
self and other values to be equal, and is used
by ==.