pub struct DiscoveredAction {
pub label: String,
pub opcode: (u8, u8),
pub confidence: f32,
}Expand description
Action discovered from HTML patterns (forms, buttons, links).
Maps interactive elements to Cortex OpCode pairs so the navigation engine can reason about available actions without rendering the page.
Fields§
§label: StringHuman-readable label (e.g., “Add to Cart”, “Search”).
opcode: (u8, u8)OpCode (category, action) bytes matching the binary spec in 02-map-spec.md.
confidence: f32Confidence that this is the correct action, in [0.0, 1.0].
Trait Implementations§
Source§impl Clone for DiscoveredAction
impl Clone for DiscoveredAction
Source§fn clone(&self) -> DiscoveredAction
fn clone(&self) -> DiscoveredAction
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 DiscoveredAction
impl RefUnwindSafe for DiscoveredAction
impl Send for DiscoveredAction
impl Sync for DiscoveredAction
impl Unpin for DiscoveredAction
impl UnsafeUnpin for DiscoveredAction
impl UnwindSafe for DiscoveredAction
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