Struct aws_sdk_iot::operation::get_package::GetPackageOutput
source · #[non_exhaustive]pub struct GetPackageOutput {
pub package_name: Option<String>,
pub package_arn: Option<String>,
pub description: Option<String>,
pub default_version_name: Option<String>,
pub creation_date: Option<DateTime>,
pub last_modified_date: Option<DateTime>,
/* 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.package_name: Option<String>
The name of the software package.
package_arn: Option<String>
The ARN for the package.
description: Option<String>
The package description.
default_version_name: Option<String>
The name of the default package version.
creation_date: Option<DateTime>
The date the package was created.
last_modified_date: Option<DateTime>
The date when the package was last updated.
Implementations§
source§impl GetPackageOutput
impl GetPackageOutput
sourcepub fn package_name(&self) -> Option<&str>
pub fn package_name(&self) -> Option<&str>
The name of the software package.
sourcepub fn package_arn(&self) -> Option<&str>
pub fn package_arn(&self) -> Option<&str>
The ARN for the package.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The package description.
sourcepub fn default_version_name(&self) -> Option<&str>
pub fn default_version_name(&self) -> Option<&str>
The name of the default package version.
sourcepub fn creation_date(&self) -> Option<&DateTime>
pub fn creation_date(&self) -> Option<&DateTime>
The date the package was created.
sourcepub fn last_modified_date(&self) -> Option<&DateTime>
pub fn last_modified_date(&self) -> Option<&DateTime>
The date when the package was last updated.
source§impl GetPackageOutput
impl GetPackageOutput
sourcepub fn builder() -> GetPackageOutputBuilder
pub fn builder() -> GetPackageOutputBuilder
Creates a new builder-style object to manufacture GetPackageOutput
.
Trait Implementations§
source§impl Clone for GetPackageOutput
impl Clone for GetPackageOutput
source§fn clone(&self) -> GetPackageOutput
fn clone(&self) -> GetPackageOutput
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 GetPackageOutput
impl Debug for GetPackageOutput
source§impl PartialEq for GetPackageOutput
impl PartialEq for GetPackageOutput
source§fn eq(&self, other: &GetPackageOutput) -> bool
fn eq(&self, other: &GetPackageOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetPackageOutput
impl RequestId for GetPackageOutput
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 GetPackageOutput
Auto Trait Implementations§
impl Freeze for GetPackageOutput
impl RefUnwindSafe for GetPackageOutput
impl Send for GetPackageOutput
impl Sync for GetPackageOutput
impl Unpin for GetPackageOutput
impl UnwindSafe for GetPackageOutput
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.