Struct aws_sdk_ecrpublic::types::Registry
source · #[non_exhaustive]pub struct Registry {
pub registry_id: String,
pub registry_arn: String,
pub registry_uri: String,
pub verified: bool,
pub aliases: Vec<RegistryAlias>,
}Expand description
The details of a public registry.
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.registry_id: StringThe Amazon Web Services account ID that's associated with the registry. If you do not specify a registry, the default public registry is assumed.
registry_arn: StringThe Amazon Resource Name (ARN) of the public registry.
registry_uri: StringThe URI of a public registry. The URI contains a universal prefix and the registry alias.
verified: boolIndicates whether the account is a verified Amazon Web Services Marketplace vendor. If an account is verified, each public repository receives a verified account badge on the Amazon ECR Public Gallery.
aliases: Vec<RegistryAlias>An array of objects that represents the aliases for a public registry.
Implementations§
source§impl Registry
impl Registry
sourcepub fn registry_id(&self) -> &str
pub fn registry_id(&self) -> &str
The Amazon Web Services account ID that's associated with the registry. If you do not specify a registry, the default public registry is assumed.
sourcepub fn registry_arn(&self) -> &str
pub fn registry_arn(&self) -> &str
The Amazon Resource Name (ARN) of the public registry.
sourcepub fn registry_uri(&self) -> &str
pub fn registry_uri(&self) -> &str
The URI of a public registry. The URI contains a universal prefix and the registry alias.
sourcepub fn verified(&self) -> bool
pub fn verified(&self) -> bool
Indicates whether the account is a verified Amazon Web Services Marketplace vendor. If an account is verified, each public repository receives a verified account badge on the Amazon ECR Public Gallery.
sourcepub fn aliases(&self) -> &[RegistryAlias]
pub fn aliases(&self) -> &[RegistryAlias]
An array of objects that represents the aliases for a public registry.