pub struct OverlayToolName { /* private fields */ }Expand description
A tool name written in mars.toml ([agents.<name>.tools], [skills.<name>.tools]),
parsed when the config loads: an overlay cannot carry a name a profile would reject.
Keeps the author’s spelling, so saving mars.toml does not rewrite it.
Implementations§
Source§impl OverlayToolName
impl OverlayToolName
pub fn parsed(&self) -> &ParsedToolName
Trait Implementations§
Source§impl Clone for OverlayToolName
impl Clone for OverlayToolName
Source§impl Debug for OverlayToolName
impl Debug for OverlayToolName
Source§impl<'de> Deserialize<'de> for OverlayToolName
impl<'de> Deserialize<'de> for OverlayToolName
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
impl Eq for OverlayToolName
Source§impl From<OverlayToolName> for String
impl From<OverlayToolName> for String
Source§fn from(name: OverlayToolName) -> Self
fn from(name: OverlayToolName) -> Self
Converts to this type from the input type.
Source§impl PartialEq for OverlayToolName
impl PartialEq for OverlayToolName
Source§impl Serialize for OverlayToolName
impl Serialize for OverlayToolName
impl StructuralPartialEq for OverlayToolName
Auto Trait Implementations§
impl Freeze for OverlayToolName
impl RefUnwindSafe for OverlayToolName
impl Send for OverlayToolName
impl Sync for OverlayToolName
impl Unpin for OverlayToolName
impl UnsafeUnpin for OverlayToolName
impl UnwindSafe for OverlayToolName
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.