Struct aws_sdk_ecrpublic::types::RepositoryCatalogData
source · #[non_exhaustive]pub struct RepositoryCatalogData {
pub description: Option<String>,
pub architectures: Option<Vec<String>>,
pub operating_systems: Option<Vec<String>>,
pub logo_url: Option<String>,
pub about_text: Option<String>,
pub usage_text: Option<String>,
pub marketplace_certified: Option<bool>,
}
Expand description
The catalog data for a repository. This data is publicly visible in the Amazon ECR Public Gallery.
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.description: Option<String>
The short description of the repository.
architectures: Option<Vec<String>>
The architecture tags that are associated with the repository.
Only supported operating system tags appear publicly in the Amazon ECR Public Gallery. For more information, see RepositoryCatalogDataInput
.
operating_systems: Option<Vec<String>>
The operating system tags that are associated with the repository.
Only supported operating system tags appear publicly in the Amazon ECR Public Gallery. For more information, see RepositoryCatalogDataInput
.
logo_url: Option<String>
The URL that contains the logo that's associated with the repository.
about_text: Option<String>
The longform description of the contents of the repository. This text appears in the repository details on the Amazon ECR Public Gallery.
usage_text: Option<String>
The longform usage details of the contents of the repository. The usage text provides context for users of the repository.
marketplace_certified: Option<bool>
Indicates whether the repository is certified by Amazon Web Services Marketplace.
Implementations§
source§impl RepositoryCatalogData
impl RepositoryCatalogData
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The short description of the repository.
sourcepub fn architectures(&self) -> &[String]
pub fn architectures(&self) -> &[String]
The architecture tags that are associated with the repository.
Only supported operating system tags appear publicly in the Amazon ECR Public Gallery. For more information, see RepositoryCatalogDataInput
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .architectures.is_none()
.
sourcepub fn operating_systems(&self) -> &[String]
pub fn operating_systems(&self) -> &[String]
The operating system tags that are associated with the repository.
Only supported operating system tags appear publicly in the Amazon ECR Public Gallery. For more information, see RepositoryCatalogDataInput
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .operating_systems.is_none()
.
sourcepub fn logo_url(&self) -> Option<&str>
pub fn logo_url(&self) -> Option<&str>
The URL that contains the logo that's associated with the repository.
sourcepub fn about_text(&self) -> Option<&str>
pub fn about_text(&self) -> Option<&str>
The longform description of the contents of the repository. This text appears in the repository details on the Amazon ECR Public Gallery.
sourcepub fn usage_text(&self) -> Option<&str>
pub fn usage_text(&self) -> Option<&str>
The longform usage details of the contents of the repository. The usage text provides context for users of the repository.
sourcepub fn marketplace_certified(&self) -> Option<bool>
pub fn marketplace_certified(&self) -> Option<bool>
Indicates whether the repository is certified by Amazon Web Services Marketplace.
source§impl RepositoryCatalogData
impl RepositoryCatalogData
sourcepub fn builder() -> RepositoryCatalogDataBuilder
pub fn builder() -> RepositoryCatalogDataBuilder
Creates a new builder-style object to manufacture RepositoryCatalogData
.
Trait Implementations§
source§impl Clone for RepositoryCatalogData
impl Clone for RepositoryCatalogData
source§fn clone(&self) -> RepositoryCatalogData
fn clone(&self) -> RepositoryCatalogData
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RepositoryCatalogData
impl Debug for RepositoryCatalogData
source§impl PartialEq for RepositoryCatalogData
impl PartialEq for RepositoryCatalogData
source§fn eq(&self, other: &RepositoryCatalogData) -> bool
fn eq(&self, other: &RepositoryCatalogData) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RepositoryCatalogData
Auto Trait Implementations§
impl Freeze for RepositoryCatalogData
impl RefUnwindSafe for RepositoryCatalogData
impl Send for RepositoryCatalogData
impl Sync for RepositoryCatalogData
impl Unpin for RepositoryCatalogData
impl UnwindSafe for RepositoryCatalogData
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> 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