#[non_exhaustive]pub struct GetPackageVersionAssetOutput {
pub asset: ByteStream,
/* 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.
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() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetPackageVersionAssetOutput
.