pub struct ActionDef {
pub id: String,
pub label: String,
pub config: ActionConfig,
}Expand description
§========================================================================== Action Definition
Action definition in node manifest
Fields§
§id: StringAction identifier (e.g., “reset”, “randomize”, “my-custom-action”)
label: StringDisplay label for UI button
config: ActionConfigAction configuration (type-safe, discriminated union)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ActionDef
impl RefUnwindSafe for ActionDef
impl Send for ActionDef
impl Sync for ActionDef
impl Unpin for ActionDef
impl UnwindSafe for ActionDef
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