Struct aws_sdk_codeartifact::operation::get_package_version_asset::GetPackageVersionAssetOutput
source · #[non_exhaustive]pub struct GetPackageVersionAssetOutput {
pub asset: ByteStream,
pub asset_name: Option<String>,
pub package_version: Option<String>,
pub package_version_revision: Option<String>,
/* 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.asset: ByteStream
The binary file, or asset, that is downloaded.
asset_name: Option<String>
The name of the asset that is downloaded.
package_version: Option<String>
A string that contains the package version (for example, 3.5.2
).
package_version_revision: Option<String>
The name of the package version revision that contains the downloaded asset.
Implementations§
source§impl GetPackageVersionAssetOutput
impl GetPackageVersionAssetOutput
sourcepub fn asset(&self) -> &ByteStream
pub fn asset(&self) -> &ByteStream
The binary file, or asset, that is downloaded.
sourcepub fn asset_name(&self) -> Option<&str>
pub fn asset_name(&self) -> Option<&str>
The name of the asset that is downloaded.
sourcepub fn package_version(&self) -> Option<&str>
pub fn package_version(&self) -> Option<&str>
A string that contains the package version (for example, 3.5.2
).
sourcepub fn package_version_revision(&self) -> Option<&str>
pub fn package_version_revision(&self) -> Option<&str>
The name of the package version revision that contains the downloaded asset.
source§impl GetPackageVersionAssetOutput
impl GetPackageVersionAssetOutput
sourcepub fn builder() -> GetPackageVersionAssetOutputBuilder
pub fn builder() -> GetPackageVersionAssetOutputBuilder
Creates a new builder-style object to manufacture GetPackageVersionAssetOutput
.
Trait Implementations§
source§impl Debug for GetPackageVersionAssetOutput
impl Debug for GetPackageVersionAssetOutput
source§impl RequestId for GetPackageVersionAssetOutput
impl RequestId for GetPackageVersionAssetOutput
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.Auto Trait Implementations§
impl !Freeze for GetPackageVersionAssetOutput
impl !RefUnwindSafe for GetPackageVersionAssetOutput
impl Send for GetPackageVersionAssetOutput
impl Sync for GetPackageVersionAssetOutput
impl Unpin for GetPackageVersionAssetOutput
impl !UnwindSafe for GetPackageVersionAssetOutput
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.