pub struct AgentPath(/* private fields */);Expand description
Where an agent stands in the tree of agents a run started: empty for the main agent, the subagent’s name beneath its parent’s path otherwise.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AgentPath
impl<'de> Deserialize<'de> for AgentPath
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AgentPath, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AgentPath, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AgentPath
Source§impl Serialize for AgentPath
impl Serialize for AgentPath
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for AgentPath
Auto Trait Implementations§
impl Forget for AgentPath
impl Freeze for AgentPath
impl Move for AgentPath
impl RefUnwindSafe for AgentPath
impl Send for AgentPath
impl Sync for AgentPath
impl Unpin for AgentPath
impl UnsafeUnpin for AgentPath
impl UnwindSafe for AgentPath
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.