pub struct LogicalParticipant { /* private fields */ }Expand description
Somebody or something the system expects to take part, described by what it must be able to do rather than by who it is.
A logical participant is not an agent. The same design run twice can be played by different agents, and a design that named one would be a deployment pretending to be a description.
Implementations§
Source§impl LogicalParticipant
impl LogicalParticipant
pub const fn new( id: ParticipantId, role: SystemRoleId, kind: ParticipantKind, binding: ParticipantBindingPolicy, ) -> Self
pub const fn id(&self) -> &ParticipantId
pub const fn role(&self) -> &SystemRoleId
pub const fn kind(&self) -> ParticipantKind
pub const fn binding(&self) -> &ParticipantBindingPolicy
Trait Implementations§
Source§impl Clone for LogicalParticipant
impl Clone for LogicalParticipant
Source§impl Debug for LogicalParticipant
impl Debug for LogicalParticipant
Source§impl<'de> Deserialize<'de> for LogicalParticipant
impl<'de> Deserialize<'de> for LogicalParticipant
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 LogicalParticipant
Source§impl PartialEq for LogicalParticipant
impl PartialEq for LogicalParticipant
Source§impl Serialize for LogicalParticipant
impl Serialize for LogicalParticipant
impl StructuralPartialEq for LogicalParticipant
Auto Trait Implementations§
impl Freeze for LogicalParticipant
impl RefUnwindSafe for LogicalParticipant
impl Send for LogicalParticipant
impl Sync for LogicalParticipant
impl Unpin for LogicalParticipant
impl UnsafeUnpin for LogicalParticipant
impl UnwindSafe for LogicalParticipant
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