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 ==.impl StructuralPartialEq for VisualCustomAction
Auto Trait Implementations§
impl Freeze for VisualCustomAction
impl RefUnwindSafe for VisualCustomAction
impl Send for VisualCustomAction
impl Sync for VisualCustomAction
impl Unpin for VisualCustomAction
impl UnwindSafe for VisualCustomAction
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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