Struct aws_sdk_codeartifact::model::PackageSummary [−][src]
#[non_exhaustive]pub struct PackageSummary {
pub format: Option<PackageFormat>,
pub namespace: Option<String>,
pub package: Option<String>,
}
Expand description
Details about a package, including its format, namespace, and name. The
ListPackages
operation returns a list of PackageSummary
objects.
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.format: Option<PackageFormat>
The format of the package. Valid values are:
-
npm
-
pypi
-
maven
namespace: Option<String>
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
. -
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
package: Option<String>
The name of the package.
Implementations
Creates a new builder-style object to manufacture PackageSummary
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PackageSummary
impl Send for PackageSummary
impl Sync for PackageSummary
impl Unpin for PackageSummary
impl UnwindSafe for PackageSummary
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more