pub enum ExecutionMethod {
WebMcp,
PlatformApi,
Http,
WebSocket,
DragApi,
CanvasApi,
OAuthHttp,
Browser,
}Expand description
How an action was executed.
The execution priority stack (highest to lowest reliability):
- WebMCP — site explicitly defined this tool
- Platform API — known platform REST endpoints
- HTTP action — discovered forms, JS endpoints
- WebSocket — native WS message
- Drag API — drag-and-drop via HTTP replay
- Canvas API — canvas app REST endpoint
- OAuth HTTP — HTTP-native OAuth flow
- Browser — full browser simulation (last resort)
Variants§
WebMcp
Executed via WebMCP structured tool call (highest reliability).
PlatformApi
Executed via known platform REST API.
Http
Executed via discovered HTTP action (forms, JS endpoints).
WebSocket
Executed via native WebSocket message.
DragApi
Executed via drag-and-drop API replay.
CanvasApi
Executed via canvas app REST API.
OAuthHttp
Executed via HTTP-native OAuth flow.
Browser
Executed via browser rendering (last resort).
Trait Implementations§
Source§impl Clone for ExecutionMethod
impl Clone for ExecutionMethod
Source§fn clone(&self) -> ExecutionMethod
fn clone(&self) -> ExecutionMethod
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 ExecutionMethod
impl Debug for ExecutionMethod
Source§impl<'de> Deserialize<'de> for ExecutionMethod
impl<'de> Deserialize<'de> for ExecutionMethod
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 ExecutionMethod
impl RefUnwindSafe for ExecutionMethod
impl Send for ExecutionMethod
impl Sync for ExecutionMethod
impl Unpin for ExecutionMethod
impl UnsafeUnpin for ExecutionMethod
impl UnwindSafe for ExecutionMethod
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