pub struct ToolName(/* private fields */);Expand description
Tool identity as it appears in catalog and events: non-empty ASCII lowercase, digits, underscore.
Implementations§
Source§impl ToolName
impl ToolName
Sourcepub const BROWSER: &'static str = "browser"
pub const BROWSER: &'static str = "browser"
The built-in browser tool’s name. One authority, because the
tool’s own ToolMeta, the building rule that admits it and the
ledger fixtures that name its record all spell it.
Sourcepub const USER_BROWSER: &'static str = "usersbrowser"
pub const USER_BROWSER: &'static str = "usersbrowser"
The tool that drives the browser a person already has open, with that person’s own profile.
Sourcepub const EXEC: &'static str = "exec"
pub const EXEC: &'static str = "exec"
The three-arm execution tool. One authority, because the discard forecast, the lane’s command count and its sieve all route on it.
pub fn parse(raw: &str) -> Result<Self, AxError>
pub fn as_str(&self) -> &str
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ToolName
impl<'de> Deserialize<'de> for ToolName
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ToolName
Source§impl Ord for ToolName
impl Ord for ToolName
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for ToolName
impl PartialOrd for ToolName
impl StructuralPartialEq for ToolName
Auto Trait Implementations§
impl Freeze for ToolName
impl RefUnwindSafe for ToolName
impl Send for ToolName
impl Sync for ToolName
impl Unpin for ToolName
impl UnsafeUnpin for ToolName
impl UnwindSafe for ToolName
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