#[non_exhaustive]pub struct CustomActionUrlOperationBuilder { /* private fields */ }Expand description
A builder for CustomActionUrlOperation.
Implementations§
source§impl CustomActionUrlOperationBuilder
impl CustomActionUrlOperationBuilder
sourcepub fn url_template(self, input: impl Into<String>) -> Self
pub fn url_template(self, input: impl Into<String>) -> Self
THe URL link of the CustomActionURLOperation.
sourcepub fn set_url_template(self, input: Option<String>) -> Self
pub fn set_url_template(self, input: Option<String>) -> Self
THe URL link of the CustomActionURLOperation.
sourcepub fn url_target(self, input: UrlTargetConfiguration) -> Self
pub fn url_target(self, input: UrlTargetConfiguration) -> Self
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.
sourcepub fn set_url_target(self, input: Option<UrlTargetConfiguration>) -> Self
pub fn set_url_target(self, input: Option<UrlTargetConfiguration>) -> Self
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.
sourcepub fn build(self) -> CustomActionUrlOperation
pub fn build(self) -> CustomActionUrlOperation
Consumes the builder and constructs a CustomActionUrlOperation.
Trait Implementations§
source§impl Clone for CustomActionUrlOperationBuilder
impl Clone for CustomActionUrlOperationBuilder
source§fn clone(&self) -> CustomActionUrlOperationBuilder
fn clone(&self) -> CustomActionUrlOperationBuilder
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 Default for CustomActionUrlOperationBuilder
impl Default for CustomActionUrlOperationBuilder
source§fn default() -> CustomActionUrlOperationBuilder
fn default() -> CustomActionUrlOperationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CustomActionUrlOperationBuilder> for CustomActionUrlOperationBuilder
impl PartialEq<CustomActionUrlOperationBuilder> for CustomActionUrlOperationBuilder
source§fn eq(&self, other: &CustomActionUrlOperationBuilder) -> bool
fn eq(&self, other: &CustomActionUrlOperationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CustomActionUrlOperationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CustomActionUrlOperationBuilder
impl Send for CustomActionUrlOperationBuilder
impl Sync for CustomActionUrlOperationBuilder
impl Unpin for CustomActionUrlOperationBuilder
impl UnwindSafe for CustomActionUrlOperationBuilder
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