Struct aws_sdk_codeartifact::model::PackageDescription
source · #[non_exhaustive]pub struct PackageDescription { /* private fields */ }
Expand description
Details about a package.
Implementations§
source§impl PackageDescription
impl PackageDescription
sourcepub fn format(&self) -> Option<&PackageFormat>
pub fn format(&self) -> Option<&PackageFormat>
A format that specifies the type of the package.
sourcepub fn namespace(&self) -> Option<&str>
pub fn namespace(&self) -> Option<&str>
The namespace of the package. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package is its
groupId
. -
The namespace of an npm package is its
scope
. -
Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
sourcepub fn origin_configuration(&self) -> Option<&PackageOriginConfiguration>
pub fn origin_configuration(&self) -> Option<&PackageOriginConfiguration>
The package origin configuration for the package.
source§impl PackageDescription
impl PackageDescription
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PackageDescription
.
Trait Implementations§
source§impl Clone for PackageDescription
impl Clone for PackageDescription
source§fn clone(&self) -> PackageDescription
fn clone(&self) -> PackageDescription
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PackageDescription
impl Debug for PackageDescription
source§impl PartialEq<PackageDescription> for PackageDescription
impl PartialEq<PackageDescription> for PackageDescription
source§fn eq(&self, other: &PackageDescription) -> bool
fn eq(&self, other: &PackageDescription) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.