Struct aws_sdk_quicksight::types::VisualCustomAction
source · #[non_exhaustive]pub struct VisualCustomAction {
pub custom_action_id: String,
pub name: String,
pub status: Option<WidgetStatus>,
pub trigger: VisualCustomActionTrigger,
pub action_operations: 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: StringThe ID of the VisualCustomAction.
name: StringThe name of the VisualCustomAction.
status: Option<WidgetStatus>The status of the VisualCustomAction.
trigger: VisualCustomActionTriggerThe 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: 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) -> &str
pub fn custom_action_id(&self) -> &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) -> &VisualCustomActionTrigger
pub fn trigger(&self) -> &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) -> &[VisualCustomActionOperation]
pub fn action_operations(&self) -> &[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 for VisualCustomAction
impl PartialEq 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 ==.