pub enum ActionRequest {
Single(Action),
Chain(Vec<Action>),
}Expand description
Unified input type for run() method - accepts single actions or chains
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ActionRequest
impl Clone for ActionRequest
Source§fn clone(&self) -> ActionRequest
fn clone(&self) -> ActionRequest
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 moreSource§impl Debug for ActionRequest
impl Debug for ActionRequest
Source§impl From<Action> for ActionRequest
impl From<Action> for ActionRequest
Source§impl From<ActionChain> for ActionRequest
impl From<ActionChain> for ActionRequest
Source§fn from(chain: ActionChain) -> Self
fn from(chain: ActionChain) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ActionRequest
impl RefUnwindSafe for ActionRequest
impl Send for ActionRequest
impl Sync for ActionRequest
impl Unpin for ActionRequest
impl UnwindSafe for ActionRequest
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