Struct aws_sdk_iotthingsgraph::operation::upload_entity_definitions::UploadEntityDefinitionsInput
source · #[non_exhaustive]pub struct UploadEntityDefinitionsInput {
pub document: Option<DefinitionDocument>,
pub sync_with_public_namespace: Option<bool>,
pub deprecate_existing_entities: Option<bool>,
}
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.document: Option<DefinitionDocument>
The DefinitionDocument
that defines the updated entities.
sync_with_public_namespace: Option<bool>
A Boolean that specifies whether to synchronize with the latest version of the public namespace. If set to true
, the upload will create a new namespace version.
deprecate_existing_entities: Option<bool>
A Boolean that specifies whether to deprecate all entities in the latest version before uploading the new DefinitionDocument
. If set to true
, the upload will create a new namespace version.
Implementations§
source§impl UploadEntityDefinitionsInput
impl UploadEntityDefinitionsInput
sourcepub fn document(&self) -> Option<&DefinitionDocument>
pub fn document(&self) -> Option<&DefinitionDocument>
The DefinitionDocument
that defines the updated entities.
sourcepub fn sync_with_public_namespace(&self) -> Option<bool>
pub fn sync_with_public_namespace(&self) -> Option<bool>
A Boolean that specifies whether to synchronize with the latest version of the public namespace. If set to true
, the upload will create a new namespace version.
sourcepub fn deprecate_existing_entities(&self) -> Option<bool>
pub fn deprecate_existing_entities(&self) -> Option<bool>
A Boolean that specifies whether to deprecate all entities in the latest version before uploading the new DefinitionDocument
. If set to true
, the upload will create a new namespace version.
source§impl UploadEntityDefinitionsInput
impl UploadEntityDefinitionsInput
sourcepub fn builder() -> UploadEntityDefinitionsInputBuilder
pub fn builder() -> UploadEntityDefinitionsInputBuilder
Creates a new builder-style object to manufacture UploadEntityDefinitionsInput
.
Trait Implementations§
source§impl Clone for UploadEntityDefinitionsInput
impl Clone for UploadEntityDefinitionsInput
source§fn clone(&self) -> UploadEntityDefinitionsInput
fn clone(&self) -> UploadEntityDefinitionsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UploadEntityDefinitionsInput
impl Debug for UploadEntityDefinitionsInput
source§impl PartialEq for UploadEntityDefinitionsInput
impl PartialEq for UploadEntityDefinitionsInput
source§fn eq(&self, other: &UploadEntityDefinitionsInput) -> bool
fn eq(&self, other: &UploadEntityDefinitionsInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UploadEntityDefinitionsInput
Auto Trait Implementations§
impl Freeze for UploadEntityDefinitionsInput
impl RefUnwindSafe for UploadEntityDefinitionsInput
impl Send for UploadEntityDefinitionsInput
impl Sync for UploadEntityDefinitionsInput
impl Unpin for UploadEntityDefinitionsInput
impl UnwindSafe for UploadEntityDefinitionsInput
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