Struct aws_sdk_quicksight::types::VisualCustomAction
source · #[non_exhaustive]pub struct VisualCustomAction {
pub custom_action_id: Option<String>,
pub name: Option<String>,
pub status: Option<WidgetStatus>,
pub trigger: Option<VisualCustomActionTrigger>,
pub action_operations: Option<Vec<VisualCustomActionOperation>>,
}Expand description
A custom action defined on a visual.
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.custom_action_id: Option<String>The ID of the VisualCustomAction.
name: Option<String>The name of the VisualCustomAction.
status: Option<WidgetStatus>The status of the VisualCustomAction.
trigger: Option<VisualCustomActionTrigger>The trigger of the VisualCustomAction.
Valid values are defined as follows:
-
DATA_POINT_CLICK: Initiates a custom action by a left pointer click on a data point. -
DATA_POINT_MENU: Initiates a custom action by right pointer click from the menu.
action_operations: Option<Vec<VisualCustomActionOperation>>A list of VisualCustomActionOperations.
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
Implementations§
source§impl VisualCustomAction
impl VisualCustomAction
sourcepub fn custom_action_id(&self) -> Option<&str>
pub fn custom_action_id(&self) -> Option<&str>
The ID of the VisualCustomAction.
sourcepub fn status(&self) -> Option<&WidgetStatus>
pub fn status(&self) -> Option<&WidgetStatus>
The status of the VisualCustomAction.
sourcepub fn trigger(&self) -> Option<&VisualCustomActionTrigger>
pub fn trigger(&self) -> Option<&VisualCustomActionTrigger>
The trigger of the VisualCustomAction.
Valid values are defined as follows:
-
DATA_POINT_CLICK: Initiates a custom action by a left pointer click on a data point. -
DATA_POINT_MENU: Initiates a custom action by right pointer click from the menu.
sourcepub fn action_operations(&self) -> Option<&[VisualCustomActionOperation]>
pub fn action_operations(&self) -> Option<&[VisualCustomActionOperation]>
A list of VisualCustomActionOperations.
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
source§impl VisualCustomAction
impl VisualCustomAction
sourcepub fn builder() -> VisualCustomActionBuilder
pub fn builder() -> VisualCustomActionBuilder
Creates a new builder-style object to manufacture VisualCustomAction.
Trait Implementations§
source§impl Clone for VisualCustomAction
impl Clone for VisualCustomAction
source§fn clone(&self) -> VisualCustomAction
fn clone(&self) -> VisualCustomAction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for VisualCustomAction
impl Debug for VisualCustomAction
source§impl PartialEq<VisualCustomAction> for VisualCustomAction
impl PartialEq<VisualCustomAction> for VisualCustomAction
source§fn eq(&self, other: &VisualCustomAction) -> bool
fn eq(&self, other: &VisualCustomAction) -> bool
self and other values to be equal, and is used
by ==.