pub struct BrowserOperationDefinition {
pub name: &'static str,
pub cli_name: &'static str,
pub description: &'static str,
pub mutates_page: bool,
pub permission: &'static str,
pub input_schema: Value,
}Expand description
One operation in the canonical browser registry.
Fields§
§name: &'static strStable name used unchanged by SDK, CLI, MCP and providers.
cli_name: &'static strCLI shorthand below supercode browser.
description: &'static strAgent-facing description.
mutates_page: boolWhether the operation can change page or navigation state.
permission: &'static strPermission requested from the Supercode policy layer.
input_schema: ValueJSON Schema for the operation input.
Trait Implementations§
Source§impl Clone for BrowserOperationDefinition
impl Clone for BrowserOperationDefinition
Source§fn clone(&self) -> BrowserOperationDefinition
fn clone(&self) -> BrowserOperationDefinition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BrowserOperationDefinition
impl RefUnwindSafe for BrowserOperationDefinition
impl Send for BrowserOperationDefinition
impl Sync for BrowserOperationDefinition
impl Unpin for BrowserOperationDefinition
impl UnsafeUnpin for BrowserOperationDefinition
impl UnwindSafe for BrowserOperationDefinition
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