#[non_exhaustive]pub struct CreateAssetOutput {
pub asset_id: String,
pub asset_arn: String,
pub asset_status: Option<AssetStatus>,
/* private fields */
}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_id: StringThe ID of the asset, in UUID format. This ID uniquely identifies the asset within IoT SiteWise and can be used with other IoT SiteWise API operations.
asset_arn: StringThe ARN of the asset, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
asset_status: Option<AssetStatus>The status of the asset, which contains a state (CREATING after successfully calling this operation) and any error message.
Implementations§
source§impl CreateAssetOutput
impl CreateAssetOutput
sourcepub fn asset_id(&self) -> &str
pub fn asset_id(&self) -> &str
The ID of the asset, in UUID format. This ID uniquely identifies the asset within IoT SiteWise and can be used with other IoT SiteWise API operations.
sourcepub fn asset_arn(&self) -> &str
pub fn asset_arn(&self) -> &str
The ARN of the asset, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
sourcepub fn asset_status(&self) -> Option<&AssetStatus>
pub fn asset_status(&self) -> Option<&AssetStatus>
The status of the asset, which contains a state (CREATING after successfully calling this operation) and any error message.
source§impl CreateAssetOutput
impl CreateAssetOutput
sourcepub fn builder() -> CreateAssetOutputBuilder
pub fn builder() -> CreateAssetOutputBuilder
Creates a new builder-style object to manufacture CreateAssetOutput.
Trait Implementations§
source§impl Clone for CreateAssetOutput
impl Clone for CreateAssetOutput
source§fn clone(&self) -> CreateAssetOutput
fn clone(&self) -> CreateAssetOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateAssetOutput
impl Debug for CreateAssetOutput
source§impl PartialEq for CreateAssetOutput
impl PartialEq for CreateAssetOutput
source§fn eq(&self, other: &CreateAssetOutput) -> bool
fn eq(&self, other: &CreateAssetOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for CreateAssetOutput
impl RequestId for CreateAssetOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.