Struct aws_sdk_iottwinmaker::input::UpdateEntityInput
source · [−]#[non_exhaustive]pub struct UpdateEntityInput {
pub workspace_id: Option<String>,
pub entity_id: Option<String>,
pub entity_name: Option<String>,
pub description: Option<String>,
pub component_updates: Option<HashMap<String, ComponentUpdateRequest>>,
pub parent_entity_update: Option<ParentEntityUpdateRequest>,
}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.workspace_id: Option<String>The ID of the workspace that contains the entity.
entity_id: Option<String>The ID of the entity.
entity_name: Option<String>The name of the entity.
description: Option<String>The description of the entity.
component_updates: Option<HashMap<String, ComponentUpdateRequest>>An object that maps strings to the component updates in the request. Each string in the mapping must be unique to this object.
parent_entity_update: Option<ParentEntityUpdateRequest>An object that describes the update request for a parent entity.
Implementations
sourceimpl UpdateEntityInput
impl UpdateEntityInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateEntity, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateEntity, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateEntity>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateEntityInput
sourceimpl UpdateEntityInput
impl UpdateEntityInput
sourcepub fn workspace_id(&self) -> Option<&str>
pub fn workspace_id(&self) -> Option<&str>
The ID of the workspace that contains the entity.
sourcepub fn entity_name(&self) -> Option<&str>
pub fn entity_name(&self) -> Option<&str>
The name of the entity.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the entity.
sourcepub fn component_updates(
&self
) -> Option<&HashMap<String, ComponentUpdateRequest>>
pub fn component_updates(
&self
) -> Option<&HashMap<String, ComponentUpdateRequest>>
An object that maps strings to the component updates in the request. Each string in the mapping must be unique to this object.
sourcepub fn parent_entity_update(&self) -> Option<&ParentEntityUpdateRequest>
pub fn parent_entity_update(&self) -> Option<&ParentEntityUpdateRequest>
An object that describes the update request for a parent entity.
Trait Implementations
sourceimpl Clone for UpdateEntityInput
impl Clone for UpdateEntityInput
sourcefn clone(&self) -> UpdateEntityInput
fn clone(&self) -> UpdateEntityInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for UpdateEntityInput
impl Debug for UpdateEntityInput
sourceimpl PartialEq<UpdateEntityInput> for UpdateEntityInput
impl PartialEq<UpdateEntityInput> for UpdateEntityInput
sourcefn eq(&self, other: &UpdateEntityInput) -> bool
fn eq(&self, other: &UpdateEntityInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &UpdateEntityInput) -> bool
fn ne(&self, other: &UpdateEntityInput) -> bool
This method tests for !=.
impl StructuralPartialEq for UpdateEntityInput
Auto Trait Implementations
impl RefUnwindSafe for UpdateEntityInput
impl Send for UpdateEntityInput
impl Sync for UpdateEntityInput
impl Unpin for UpdateEntityInput
impl UnwindSafe for UpdateEntityInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more