Struct aws_sdk_quicksight::types::TopicNamedEntity
source · #[non_exhaustive]pub struct TopicNamedEntity {
pub entity_name: 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
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.entity_name: 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) -> &str
pub fn entity_name(&self) -> &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) -> &[String]
pub fn entity_synonyms(&self) -> &[String]
The other names or aliases for the named entity.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .entity_synonyms.is_none()
.
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) -> &[NamedEntityDefinition]
pub fn definition(&self) -> &[NamedEntityDefinition]
The definition of a named entity.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .definition.is_none()
.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TopicNamedEntity
impl Debug for TopicNamedEntity
source§impl PartialEq for TopicNamedEntity
impl PartialEq for TopicNamedEntity
source§fn eq(&self, other: &TopicNamedEntity) -> bool
fn eq(&self, other: &TopicNamedEntity) -> bool
self
and other
values to be equal, and is used
by ==
.