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: StringThe 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 ==.impl StructuralPartialEq for TopicNamedEntity
Auto Trait Implementations§
impl Freeze for TopicNamedEntity
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
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