#[non_exhaustive]pub struct CustomActionUrlOperation {
pub url_template: String,
pub url_target: 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: StringTHe URL link of the CustomActionURLOperation.
url_target: UrlTargetConfigurationThe 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) -> &str
pub fn url_template(&self) -> &str
THe URL link of the CustomActionURLOperation.
sourcepub fn url_target(&self) -> &UrlTargetConfiguration
pub fn url_target(&self) -> &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 for CustomActionUrlOperation
impl PartialEq 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 Freeze for CustomActionUrlOperation
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
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>
Creates a shared type from an unshared type.