#[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 composite_component_updates: Option<HashMap<String, CompositeComponentUpdateRequest>>,
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.
composite_component_updates: Option<HashMap<String, CompositeComponentUpdateRequest>>This is an object that maps strings to compositeComponent updates in the request. Each key of the map represents the componentPath of the compositeComponent.
parent_entity_update: Option<ParentEntityUpdateRequest>An object that describes the update request for a parent entity.
Implementations§
source§impl 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 composite_component_updates(
&self,
) -> Option<&HashMap<String, CompositeComponentUpdateRequest>>
pub fn composite_component_updates( &self, ) -> Option<&HashMap<String, CompositeComponentUpdateRequest>>
This is an object that maps strings to compositeComponent updates in the request. Each key of the map represents the componentPath of the compositeComponent.
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.
source§impl UpdateEntityInput
impl UpdateEntityInput
sourcepub fn builder() -> UpdateEntityInputBuilder
pub fn builder() -> UpdateEntityInputBuilder
Creates a new builder-style object to manufacture UpdateEntityInput.
Trait Implementations§
source§impl Clone for UpdateEntityInput
impl Clone for UpdateEntityInput
source§fn clone(&self) -> UpdateEntityInput
fn clone(&self) -> UpdateEntityInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateEntityInput
impl Debug for UpdateEntityInput
source§impl PartialEq for UpdateEntityInput
impl PartialEq for UpdateEntityInput
impl StructuralPartialEq for UpdateEntityInput
Auto Trait Implementations§
impl Freeze for UpdateEntityInput
impl RefUnwindSafe for UpdateEntityInput
impl Send for UpdateEntityInput
impl Sync for UpdateEntityInput
impl Unpin for UpdateEntityInput
impl UnwindSafe for UpdateEntityInput
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