Struct aws_sdk_quicksight::types::ParameterDeclaration
source · #[non_exhaustive]pub struct ParameterDeclaration {
pub string_parameter_declaration: Option<StringParameterDeclaration>,
pub decimal_parameter_declaration: Option<DecimalParameterDeclaration>,
pub integer_parameter_declaration: Option<IntegerParameterDeclaration>,
pub date_time_parameter_declaration: Option<DateTimeParameterDeclaration>,
}
Expand description
The declaration definition of a parameter.
For more information, see Parameters in Amazon QuickSight in the Amazon QuickSight User Guide.
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
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.string_parameter_declaration: Option<StringParameterDeclaration>
A parameter declaration for the String
data type.
decimal_parameter_declaration: Option<DecimalParameterDeclaration>
A parameter declaration for the Decimal
data type.
integer_parameter_declaration: Option<IntegerParameterDeclaration>
A parameter declaration for the Integer
data type.
date_time_parameter_declaration: Option<DateTimeParameterDeclaration>
A parameter declaration for the DateTime
data type.
Implementations§
source§impl ParameterDeclaration
impl ParameterDeclaration
sourcepub fn string_parameter_declaration(
&self
) -> Option<&StringParameterDeclaration>
pub fn string_parameter_declaration( &self ) -> Option<&StringParameterDeclaration>
A parameter declaration for the String
data type.
sourcepub fn decimal_parameter_declaration(
&self
) -> Option<&DecimalParameterDeclaration>
pub fn decimal_parameter_declaration( &self ) -> Option<&DecimalParameterDeclaration>
A parameter declaration for the Decimal
data type.
sourcepub fn integer_parameter_declaration(
&self
) -> Option<&IntegerParameterDeclaration>
pub fn integer_parameter_declaration( &self ) -> Option<&IntegerParameterDeclaration>
A parameter declaration for the Integer
data type.
sourcepub fn date_time_parameter_declaration(
&self
) -> Option<&DateTimeParameterDeclaration>
pub fn date_time_parameter_declaration( &self ) -> Option<&DateTimeParameterDeclaration>
A parameter declaration for the DateTime
data type.
source§impl ParameterDeclaration
impl ParameterDeclaration
sourcepub fn builder() -> ParameterDeclarationBuilder
pub fn builder() -> ParameterDeclarationBuilder
Creates a new builder-style object to manufacture ParameterDeclaration
.
Trait Implementations§
source§impl Clone for ParameterDeclaration
impl Clone for ParameterDeclaration
source§fn clone(&self) -> ParameterDeclaration
fn clone(&self) -> ParameterDeclaration
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 ParameterDeclaration
impl Debug for ParameterDeclaration
source§impl PartialEq for ParameterDeclaration
impl PartialEq for ParameterDeclaration
source§fn eq(&self, other: &ParameterDeclaration) -> bool
fn eq(&self, other: &ParameterDeclaration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ParameterDeclaration
Auto Trait Implementations§
impl RefUnwindSafe for ParameterDeclaration
impl Send for ParameterDeclaration
impl Sync for ParameterDeclaration
impl Unpin for ParameterDeclaration
impl UnwindSafe for ParameterDeclaration
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.