Struct aws_sdk_codeartifact::operation::publish_package_version::PublishPackageVersionOutput
source · #[non_exhaustive]pub struct PublishPackageVersionOutput {
pub format: Option<PackageFormat>,
pub namespace: Option<String>,
pub package: Option<String>,
pub version: Option<String>,
pub version_revision: Option<String>,
pub status: Option<PackageVersionStatus>,
pub asset: Option<AssetSummary>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.format: Option<PackageFormat>
The format of the package version.
namespace: Option<String>
The namespace of the package version.
package: Option<String>
The name of the package.
version: Option<String>
The version of the package.
version_revision: Option<String>
The revision of the package version.
status: Option<PackageVersionStatus>
A string that contains the status of the package version. For more information, see Package version status in the CodeArtifact User Guide.
asset: Option<AssetSummary>
An AssetSummary for the published asset.
Implementations§
source§impl PublishPackageVersionOutput
impl PublishPackageVersionOutput
sourcepub fn format(&self) -> Option<&PackageFormat>
pub fn format(&self) -> Option<&PackageFormat>
The format of the package version.
sourcepub fn version_revision(&self) -> Option<&str>
pub fn version_revision(&self) -> Option<&str>
The revision of the package version.
sourcepub fn status(&self) -> Option<&PackageVersionStatus>
pub fn status(&self) -> Option<&PackageVersionStatus>
A string that contains the status of the package version. For more information, see Package version status in the CodeArtifact User Guide.
sourcepub fn asset(&self) -> Option<&AssetSummary>
pub fn asset(&self) -> Option<&AssetSummary>
An AssetSummary for the published asset.
source§impl PublishPackageVersionOutput
impl PublishPackageVersionOutput
sourcepub fn builder() -> PublishPackageVersionOutputBuilder
pub fn builder() -> PublishPackageVersionOutputBuilder
Creates a new builder-style object to manufacture PublishPackageVersionOutput
.
Trait Implementations§
source§impl Clone for PublishPackageVersionOutput
impl Clone for PublishPackageVersionOutput
source§fn clone(&self) -> PublishPackageVersionOutput
fn clone(&self) -> PublishPackageVersionOutput
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 PublishPackageVersionOutput
impl Debug for PublishPackageVersionOutput
source§impl PartialEq for PublishPackageVersionOutput
impl PartialEq for PublishPackageVersionOutput
source§fn eq(&self, other: &PublishPackageVersionOutput) -> bool
fn eq(&self, other: &PublishPackageVersionOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for PublishPackageVersionOutput
impl RequestId for PublishPackageVersionOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for PublishPackageVersionOutput
Auto Trait Implementations§
impl Freeze for PublishPackageVersionOutput
impl RefUnwindSafe for PublishPackageVersionOutput
impl Send for PublishPackageVersionOutput
impl Sync for PublishPackageVersionOutput
impl Unpin for PublishPackageVersionOutput
impl UnwindSafe for PublishPackageVersionOutput
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.