pub struct HttpAction {
pub opcode: OpCode,
pub label: String,
pub source: ActionSource,
pub confidence: f32,
}Expand description
An action that can be executed via HTTP (no browser needed).
Fields§
§opcode: OpCodeOpCode (category, action) for the binary map spec.
label: StringHuman-readable label (e.g., “Add to Cart”, “Login”).
source: ActionSourceWhere this action was discovered.
confidence: f32Confidence that this action is correctly identified, in [0.0, 1.0].
Trait Implementations§
Source§impl Clone for HttpAction
impl Clone for HttpAction
Source§fn clone(&self) -> HttpAction
fn clone(&self) -> HttpAction
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 HttpAction
impl Debug for HttpAction
Source§impl<'de> Deserialize<'de> for HttpAction
impl<'de> Deserialize<'de> for HttpAction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for HttpAction
impl RefUnwindSafe for HttpAction
impl Send for HttpAction
impl Sync for HttpAction
impl Unpin for HttpAction
impl UnsafeUnpin for HttpAction
impl UnwindSafe for HttpAction
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