#[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 get_url_template(&self) -> &Option<String>
pub fn get_url_template(&self) -> &Option<String>
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 get_url_target(&self) -> &Option<UrlTargetConfiguration>
pub fn get_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.
sourcepub fn build(self) -> Result<CustomActionUrlOperation, BuildError>
pub fn build(self) -> Result<CustomActionUrlOperation, BuildError>
Consumes the builder and constructs a CustomActionUrlOperation.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CustomActionUrlOperationBuilder
impl Clone for CustomActionUrlOperationBuilder
source§fn clone(&self) -> CustomActionUrlOperationBuilder
fn clone(&self) -> CustomActionUrlOperationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CustomActionUrlOperationBuilder
impl Default for CustomActionUrlOperationBuilder
source§fn default() -> CustomActionUrlOperationBuilder
fn default() -> CustomActionUrlOperationBuilder
source§impl PartialEq for CustomActionUrlOperationBuilder
impl PartialEq for CustomActionUrlOperationBuilder
source§fn eq(&self, other: &CustomActionUrlOperationBuilder) -> bool
fn eq(&self, other: &CustomActionUrlOperationBuilder) -> bool
self and other values to be equal, and is used
by ==.