#[non_exhaustive]pub struct GetPackageVersionAssetOutput {
pub asset: ByteStream,
pub asset_name: Option<String>,
pub package_version: Option<String>,
pub package_version_revision: Option<String>,
}
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.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
sourceimpl 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.
sourceimpl GetPackageVersionAssetOutput
impl GetPackageVersionAssetOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetPackageVersionAssetOutput
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for GetPackageVersionAssetOutput
impl Send for GetPackageVersionAssetOutput
impl Sync for GetPackageVersionAssetOutput
impl Unpin for GetPackageVersionAssetOutput
impl !UnwindSafe for GetPackageVersionAssetOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more