pub struct TriggerActionBuilder { /* private fields */ }Expand description
Builder for TriggerAction.
Implementations§
Source§impl TriggerActionBuilder
impl TriggerActionBuilder
Sourcepub fn target_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn target_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
A tab target ID to trigger the default extension action on.
Sourcepub fn build(&self) -> Result<TriggerAction, TriggerActionBuilderError>
pub fn build(&self) -> Result<TriggerAction, TriggerActionBuilderError>
Trait Implementations§
Source§impl Clone for TriggerActionBuilder
impl Clone for TriggerActionBuilder
Source§fn clone(&self) -> TriggerActionBuilder
fn clone(&self) -> TriggerActionBuilder
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for TriggerActionBuilder
impl RefUnwindSafe for TriggerActionBuilder
impl Send for TriggerActionBuilder
impl Sync for TriggerActionBuilder
impl Unpin for TriggerActionBuilder
impl UnsafeUnpin for TriggerActionBuilder
impl UnwindSafe for TriggerActionBuilder
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