Struct aws_sdk_iottwinmaker::operation::get_entity::GetEntityOutput
source · #[non_exhaustive]pub struct GetEntityOutput {Show 13 fields
pub entity_id: String,
pub entity_name: String,
pub arn: String,
pub status: Option<Status>,
pub workspace_id: String,
pub description: Option<String>,
pub components: Option<HashMap<String, ComponentResponse>>,
pub parent_entity_id: String,
pub has_child_entities: bool,
pub creation_date_time: DateTime,
pub update_date_time: DateTime,
pub sync_source: Option<String>,
pub are_all_components_returned: Option<bool>,
/* 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.entity_id: StringThe ID of the entity.
entity_name: StringThe name of the entity.
arn: StringThe ARN of the entity.
status: Option<Status>The current status of the entity.
workspace_id: StringThe ID of the workspace.
description: Option<String>The description of the entity.
components: Option<HashMap<String, ComponentResponse>>An object that maps strings to the components in the entity. Each string in the mapping must be unique to this object.
parent_entity_id: StringThe ID of the parent entity for this entity.
has_child_entities: boolA Boolean value that specifies whether the entity has associated child entities.
creation_date_time: DateTimeThe date and time when the entity was created.
update_date_time: DateTimeThe date and time when the entity was last updated.
sync_source: Option<String>The syncSource of the sync job, if this entity was created by a sync job.
are_all_components_returned: Option<bool>This flag notes whether all components are returned in the API response. The maximum number of components returned is 30.
Implementations§
source§impl GetEntityOutput
impl GetEntityOutput
sourcepub fn entity_name(&self) -> &str
pub fn entity_name(&self) -> &str
The name of the entity.
sourcepub fn workspace_id(&self) -> &str
pub fn workspace_id(&self) -> &str
The ID of the workspace.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the entity.
sourcepub fn components(&self) -> Option<&HashMap<String, ComponentResponse>>
pub fn components(&self) -> Option<&HashMap<String, ComponentResponse>>
An object that maps strings to the components in the entity. Each string in the mapping must be unique to this object.
sourcepub fn parent_entity_id(&self) -> &str
pub fn parent_entity_id(&self) -> &str
The ID of the parent entity for this entity.
sourcepub fn has_child_entities(&self) -> bool
pub fn has_child_entities(&self) -> bool
A Boolean value that specifies whether the entity has associated child entities.
sourcepub fn creation_date_time(&self) -> &DateTime
pub fn creation_date_time(&self) -> &DateTime
The date and time when the entity was created.
sourcepub fn update_date_time(&self) -> &DateTime
pub fn update_date_time(&self) -> &DateTime
The date and time when the entity was last updated.
sourcepub fn sync_source(&self) -> Option<&str>
pub fn sync_source(&self) -> Option<&str>
The syncSource of the sync job, if this entity was created by a sync job.
sourcepub fn are_all_components_returned(&self) -> Option<bool>
pub fn are_all_components_returned(&self) -> Option<bool>
This flag notes whether all components are returned in the API response. The maximum number of components returned is 30.
source§impl GetEntityOutput
impl GetEntityOutput
sourcepub fn builder() -> GetEntityOutputBuilder
pub fn builder() -> GetEntityOutputBuilder
Creates a new builder-style object to manufacture GetEntityOutput.
Trait Implementations§
source§impl Clone for GetEntityOutput
impl Clone for GetEntityOutput
source§fn clone(&self) -> GetEntityOutput
fn clone(&self) -> GetEntityOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetEntityOutput
impl Debug for GetEntityOutput
source§impl PartialEq for GetEntityOutput
impl PartialEq for GetEntityOutput
source§impl RequestId for GetEntityOutput
impl RequestId for GetEntityOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for GetEntityOutput
Auto Trait Implementations§
impl Freeze for GetEntityOutput
impl RefUnwindSafe for GetEntityOutput
impl Send for GetEntityOutput
impl Sync for GetEntityOutput
impl Unpin for GetEntityOutput
impl UnwindSafe for GetEntityOutput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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