Struct aws_sdk_quicksight::types::NamedEntityDefinition
source · #[non_exhaustive]pub struct NamedEntityDefinition {
pub field_name: Option<String>,
pub property_name: Option<String>,
pub property_role: Option<PropertyRole>,
pub property_usage: Option<PropertyUsage>,
pub metric: Option<NamedEntityDefinitionMetric>,
}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.field_name: Option<String>The name of the entity.
property_name: Option<String>The property name to be used for the named entity.
property_role: Option<PropertyRole>The property role. Valid values for this structure are PRIMARY and ID.
property_usage: Option<PropertyUsage>The property usage. Valid values for this structure are INHERIT, DIMENSION, and MEASURE.
metric: Option<NamedEntityDefinitionMetric>The definition of a metric.
Implementations§
source§impl NamedEntityDefinition
impl NamedEntityDefinition
sourcepub fn field_name(&self) -> Option<&str>
pub fn field_name(&self) -> Option<&str>
The name of the entity.
sourcepub fn property_name(&self) -> Option<&str>
pub fn property_name(&self) -> Option<&str>
The property name to be used for the named entity.
sourcepub fn property_role(&self) -> Option<&PropertyRole>
pub fn property_role(&self) -> Option<&PropertyRole>
The property role. Valid values for this structure are PRIMARY and ID.
sourcepub fn property_usage(&self) -> Option<&PropertyUsage>
pub fn property_usage(&self) -> Option<&PropertyUsage>
The property usage. Valid values for this structure are INHERIT, DIMENSION, and MEASURE.
sourcepub fn metric(&self) -> Option<&NamedEntityDefinitionMetric>
pub fn metric(&self) -> Option<&NamedEntityDefinitionMetric>
The definition of a metric.
source§impl NamedEntityDefinition
impl NamedEntityDefinition
sourcepub fn builder() -> NamedEntityDefinitionBuilder
pub fn builder() -> NamedEntityDefinitionBuilder
Creates a new builder-style object to manufacture NamedEntityDefinition.
Trait Implementations§
source§impl Clone for NamedEntityDefinition
impl Clone for NamedEntityDefinition
source§fn clone(&self) -> NamedEntityDefinition
fn clone(&self) -> NamedEntityDefinition
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 NamedEntityDefinition
impl Debug for NamedEntityDefinition
source§impl PartialEq for NamedEntityDefinition
impl PartialEq for NamedEntityDefinition
source§fn eq(&self, other: &NamedEntityDefinition) -> bool
fn eq(&self, other: &NamedEntityDefinition) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for NamedEntityDefinition
Auto Trait Implementations§
impl Freeze for NamedEntityDefinition
impl RefUnwindSafe for NamedEntityDefinition
impl Send for NamedEntityDefinition
impl Sync for NamedEntityDefinition
impl Unpin for NamedEntityDefinition
impl UnwindSafe for NamedEntityDefinition
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
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>
Creates a shared type from an unshared type.