Struct aws_sdk_quicksight::types::TopicNamedEntity
source · #[non_exhaustive]pub struct TopicNamedEntity {
pub entity_name: Option<String>,
pub entity_description: Option<String>,
pub entity_synonyms: Option<Vec<String>>,
pub semantic_entity_type: Option<SemanticEntityType>,
pub definition: Option<Vec<NamedEntityDefinition>>,
}Expand description
A structure that represents a named entity.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.entity_name: Option<String>The name of the named entity.
entity_description: Option<String>The description of the named entity.
entity_synonyms: Option<Vec<String>>The other names or aliases for the named entity.
semantic_entity_type: Option<SemanticEntityType>The type of named entity that a topic represents.
definition: Option<Vec<NamedEntityDefinition>>The definition of a named entity.
Implementations§
source§impl TopicNamedEntity
impl TopicNamedEntity
sourcepub fn entity_name(&self) -> Option<&str>
pub fn entity_name(&self) -> Option<&str>
The name of the named entity.
sourcepub fn entity_description(&self) -> Option<&str>
pub fn entity_description(&self) -> Option<&str>
The description of the named entity.
sourcepub fn entity_synonyms(&self) -> Option<&[String]>
pub fn entity_synonyms(&self) -> Option<&[String]>
The other names or aliases for the named entity.
sourcepub fn semantic_entity_type(&self) -> Option<&SemanticEntityType>
pub fn semantic_entity_type(&self) -> Option<&SemanticEntityType>
The type of named entity that a topic represents.
sourcepub fn definition(&self) -> Option<&[NamedEntityDefinition]>
pub fn definition(&self) -> Option<&[NamedEntityDefinition]>
The definition of a named entity.
source§impl TopicNamedEntity
impl TopicNamedEntity
sourcepub fn builder() -> TopicNamedEntityBuilder
pub fn builder() -> TopicNamedEntityBuilder
Creates a new builder-style object to manufacture TopicNamedEntity.
Trait Implementations§
source§impl Clone for TopicNamedEntity
impl Clone for TopicNamedEntity
source§fn clone(&self) -> TopicNamedEntity
fn clone(&self) -> TopicNamedEntity
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TopicNamedEntity
impl Debug for TopicNamedEntity
source§impl PartialEq<TopicNamedEntity> for TopicNamedEntity
impl PartialEq<TopicNamedEntity> for TopicNamedEntity
source§fn eq(&self, other: &TopicNamedEntity) -> bool
fn eq(&self, other: &TopicNamedEntity) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TopicNamedEntity
Auto Trait Implementations§
impl RefUnwindSafe for TopicNamedEntity
impl Send for TopicNamedEntity
impl Sync for TopicNamedEntity
impl Unpin for TopicNamedEntity
impl UnwindSafe for TopicNamedEntity
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
Mutably borrows from an owned value. Read more