#[non_exhaustive]pub struct VisualCustomActionOperation {
pub filter_operation: Option<CustomActionFilterOperation>,
pub navigation_operation: Option<CustomActionNavigationOperation>,
pub url_operation: Option<CustomActionUrlOperation>,
pub set_parameters_operation: Option<CustomActionSetParametersOperation>,
}
Expand description
The operation that is defined by the custom action.
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
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.filter_operation: Option<CustomActionFilterOperation>
The filter operation that filters data included in a visual or in an entire sheet.
The navigation operation that navigates between different sheets in the same analysis.
url_operation: Option<CustomActionUrlOperation>
The URL operation that opens a link to another webpage.
set_parameters_operation: Option<CustomActionSetParametersOperation>
The set parameter operation that sets parameters in custom action.
Implementations§
source§impl VisualCustomActionOperation
impl VisualCustomActionOperation
sourcepub fn filter_operation(&self) -> Option<&CustomActionFilterOperation>
pub fn filter_operation(&self) -> Option<&CustomActionFilterOperation>
The filter operation that filters data included in a visual or in an entire sheet.
The navigation operation that navigates between different sheets in the same analysis.
sourcepub fn url_operation(&self) -> Option<&CustomActionUrlOperation>
pub fn url_operation(&self) -> Option<&CustomActionUrlOperation>
The URL operation that opens a link to another webpage.
sourcepub fn set_parameters_operation(
&self,
) -> Option<&CustomActionSetParametersOperation>
pub fn set_parameters_operation( &self, ) -> Option<&CustomActionSetParametersOperation>
The set parameter operation that sets parameters in custom action.
source§impl VisualCustomActionOperation
impl VisualCustomActionOperation
sourcepub fn builder() -> VisualCustomActionOperationBuilder
pub fn builder() -> VisualCustomActionOperationBuilder
Creates a new builder-style object to manufacture VisualCustomActionOperation
.
Trait Implementations§
source§impl Clone for VisualCustomActionOperation
impl Clone for VisualCustomActionOperation
source§fn clone(&self) -> VisualCustomActionOperation
fn clone(&self) -> VisualCustomActionOperation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VisualCustomActionOperation
impl Debug for VisualCustomActionOperation
impl StructuralPartialEq for VisualCustomActionOperation
Auto Trait Implementations§
impl Freeze for VisualCustomActionOperation
impl RefUnwindSafe for VisualCustomActionOperation
impl Send for VisualCustomActionOperation
impl Sync for VisualCustomActionOperation
impl Unpin for VisualCustomActionOperation
impl UnwindSafe for VisualCustomActionOperation
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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