pub struct AgentDependency {
pub target: AgentId,
pub kind: DependencyKind,
pub condition: Option<DependencyCondition>,
}Expand description
A dependency declaration from one agent to another.
Fields§
§target: AgentIdThe agent this one depends on.
kind: DependencyKindType of dependency constraint.
condition: Option<DependencyCondition>Optional condition. If None, the dependency is always active.
Trait Implementations§
Source§impl Clone for AgentDependency
impl Clone for AgentDependency
Source§fn clone(&self) -> AgentDependency
fn clone(&self) -> AgentDependency
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 AgentDependency
impl RefUnwindSafe for AgentDependency
impl Send for AgentDependency
impl Sync for AgentDependency
impl Unpin for AgentDependency
impl UnsafeUnpin for AgentDependency
impl UnwindSafe for AgentDependency
Blanket Implementations§
Source§impl<T> AppLifecycle for Twhere
T: ?Sized,
impl<T> AppLifecycle for Twhere
T: ?Sized,
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