#[non_exhaustive]pub struct CustomActionUrlOperation {
pub url_template: Option<String>,
pub url_target: Option<UrlTargetConfiguration>,
}Expand description
The URL operation that opens a link to another webpage.
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.url_template: Option<String>THe URL link of the CustomActionURLOperation.
url_target: Option<UrlTargetConfiguration>The target of the CustomActionURLOperation.
Valid values are defined as follows:
-
NEW_TAB: Opens the target URL in a new browser tab. -
NEW_WINDOW: Opens the target URL in a new browser window. -
SAME_TAB: Opens the target URL in the same browser tab.
Implementations§
source§impl CustomActionUrlOperation
impl CustomActionUrlOperation
sourcepub fn url_template(&self) -> Option<&str>
pub fn url_template(&self) -> Option<&str>
THe URL link of the CustomActionURLOperation.
sourcepub fn url_target(&self) -> Option<&UrlTargetConfiguration>
pub fn url_target(&self) -> Option<&UrlTargetConfiguration>
The target of the CustomActionURLOperation.
Valid values are defined as follows:
-
NEW_TAB: Opens the target URL in a new browser tab. -
NEW_WINDOW: Opens the target URL in a new browser window. -
SAME_TAB: Opens the target URL in the same browser tab.
source§impl CustomActionUrlOperation
impl CustomActionUrlOperation
sourcepub fn builder() -> CustomActionUrlOperationBuilder
pub fn builder() -> CustomActionUrlOperationBuilder
Creates a new builder-style object to manufacture CustomActionUrlOperation.
Trait Implementations§
source§impl Clone for CustomActionUrlOperation
impl Clone for CustomActionUrlOperation
source§fn clone(&self) -> CustomActionUrlOperation
fn clone(&self) -> CustomActionUrlOperation
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 CustomActionUrlOperation
impl Debug for CustomActionUrlOperation
source§impl PartialEq<CustomActionUrlOperation> for CustomActionUrlOperation
impl PartialEq<CustomActionUrlOperation> for CustomActionUrlOperation
source§fn eq(&self, other: &CustomActionUrlOperation) -> bool
fn eq(&self, other: &CustomActionUrlOperation) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CustomActionUrlOperation
Auto Trait Implementations§
impl RefUnwindSafe for CustomActionUrlOperation
impl Send for CustomActionUrlOperation
impl Sync for CustomActionUrlOperation
impl Unpin for CustomActionUrlOperation
impl UnwindSafe for CustomActionUrlOperation
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