pub struct Action {
pub action_type: String,
pub source: String,
pub context: String,
pub file_path: String,
pub line: usize,
}Expand description
An action triggered by UI interaction
Fields§
§action_type: StringType of action (clicked, changed, dragged, etc.)
source: StringThe UI element or response variable this action checks
context: StringFunction/method containing this action
file_path: StringFile path
line: usizeLine number (0 if unknown)
Trait Implementations§
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
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