pub struct AgentRoot {
pub id: AgentId,
pub default: &'static str,
pub config_env: Option<&'static str>,
pub relocated: &'static str,
}Expand description
One agent skill root, and what relocates it.
Fields§
§id: AgentIdThe family this root serves.
default: &'static strThe root, relative to the home directory, where no variable moves it.
config_env: Option<&'static str>The variable relocating the agent’s whole configuration directory.
relocated: &'static strThe root, relative to that variable’s value.
Trait Implementations§
impl Copy for AgentRoot
impl Eq for AgentRoot
impl StructuralPartialEq for AgentRoot
Auto Trait Implementations§
impl Freeze for AgentRoot
impl RefUnwindSafe for AgentRoot
impl Send for AgentRoot
impl Sync for AgentRoot
impl Unpin for AgentRoot
impl UnsafeUnpin for AgentRoot
impl UnwindSafe for AgentRoot
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,
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.