#[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.impl StructuralPartialEq for CreateAssetOutput
Auto Trait Implementations§
impl Freeze for CreateAssetOutput
impl RefUnwindSafe for CreateAssetOutput
impl Send for CreateAssetOutput
impl Sync for CreateAssetOutput
impl Unpin for CreateAssetOutput
impl UnwindSafe for CreateAssetOutput
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more