pub struct AgenticSystemParts<'design> { /* private fields */ }Expand description
Everything the analysis reads, borrowed once.
The checks run over the same design from a dozen angles, and each of them wanting four of these fields would either pass four arguments or take the whole aggregate and reach in. One borrow with a name keeps the checks free functions over data rather than methods that could quietly start changing it.
Implementations§
Source§impl<'design> AgenticSystemParts<'design>
impl<'design> AgenticSystemParts<'design>
pub fn of(design: &'design AgenticSystem) -> Self
Sourcepub fn blocking_dependencies(
&self,
) -> BTreeMap<SystemCeremonyId, Vec<SystemCeremonyId>>
pub fn blocking_dependencies( &self, ) -> BTreeMap<SystemCeremonyId, Vec<SystemCeremonyId>>
What each composition must wait for, with bounded loops’ back edges cut.
Sourcepub fn participant_of_role(
&self,
role: &SystemRoleId,
) -> Option<&'design ParticipantId>
pub fn participant_of_role( &self, role: &SystemRoleId, ) -> Option<&'design ParticipantId>
Which logical participant sits in one system role, if any does.
Trait Implementations§
Source§impl<'design> Clone for AgenticSystemParts<'design>
impl<'design> Clone for AgenticSystemParts<'design>
impl<'design> Copy for AgenticSystemParts<'design>
Auto Trait Implementations§
impl<'design> Freeze for AgenticSystemParts<'design>
impl<'design> RefUnwindSafe for AgenticSystemParts<'design>
impl<'design> Send for AgenticSystemParts<'design>
impl<'design> Sync for AgenticSystemParts<'design>
impl<'design> Unpin for AgenticSystemParts<'design>
impl<'design> UnsafeUnpin for AgenticSystemParts<'design>
impl<'design> UnwindSafe for AgenticSystemParts<'design>
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