#[non_exhaustive]pub struct CreateAssetModelOutput {
pub asset_model_id: String,
pub asset_model_arn: String,
pub asset_model_status: Option<AssetModelStatus>,
/* 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_model_id: StringThe ID of the asset model, in UUID format. You can use this ID when you call other IoT SiteWise API operations.
asset_model_arn: StringThe ARN of the asset model, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
asset_model_status: Option<AssetModelStatus>The status of the asset model, which contains a state (CREATING after successfully calling this operation) and any error message.
Implementations§
source§impl CreateAssetModelOutput
impl CreateAssetModelOutput
sourcepub fn asset_model_id(&self) -> &str
pub fn asset_model_id(&self) -> &str
The ID of the asset model, in UUID format. You can use this ID when you call other IoT SiteWise API operations.
sourcepub fn asset_model_arn(&self) -> &str
pub fn asset_model_arn(&self) -> &str
The ARN of the asset model, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
sourcepub fn asset_model_status(&self) -> Option<&AssetModelStatus>
pub fn asset_model_status(&self) -> Option<&AssetModelStatus>
The status of the asset model, which contains a state (CREATING after successfully calling this operation) and any error message.
source§impl CreateAssetModelOutput
impl CreateAssetModelOutput
sourcepub fn builder() -> CreateAssetModelOutputBuilder
pub fn builder() -> CreateAssetModelOutputBuilder
Creates a new builder-style object to manufacture CreateAssetModelOutput.
Trait Implementations§
source§impl Clone for CreateAssetModelOutput
impl Clone for CreateAssetModelOutput
source§fn clone(&self) -> CreateAssetModelOutput
fn clone(&self) -> CreateAssetModelOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateAssetModelOutput
impl Debug for CreateAssetModelOutput
source§impl PartialEq for CreateAssetModelOutput
impl PartialEq for CreateAssetModelOutput
source§fn eq(&self, other: &CreateAssetModelOutput) -> bool
fn eq(&self, other: &CreateAssetModelOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for CreateAssetModelOutput
impl RequestId for CreateAssetModelOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for CreateAssetModelOutput
Auto Trait Implementations§
impl Freeze for CreateAssetModelOutput
impl RefUnwindSafe for CreateAssetModelOutput
impl Send for CreateAssetModelOutput
impl Sync for CreateAssetModelOutput
impl Unpin for CreateAssetModelOutput
impl UnwindSafe for CreateAssetModelOutput
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