pub struct SystemRole { /* private fields */ }Expand description
A business role the system is described in terms of.
Roles are the stable vocabulary: participants change between runs, ceremonies are composed and recomposed, and what stays is who is answerable for what.
Implementations§
Source§impl SystemRole
impl SystemRole
pub const fn new( id: SystemRoleId, responsibility: Responsibility, kind: SystemRoleKind, ) -> Self
pub const fn id(&self) -> &SystemRoleId
pub const fn responsibility(&self) -> &Responsibility
pub const fn kind(&self) -> SystemRoleKind
Trait Implementations§
Source§impl Clone for SystemRole
impl Clone for SystemRole
Source§impl Debug for SystemRole
impl Debug for SystemRole
Source§impl<'de> Deserialize<'de> for SystemRole
impl<'de> Deserialize<'de> for SystemRole
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 SystemRole
Source§impl Hash for SystemRole
impl Hash for SystemRole
Source§impl Ord for SystemRole
impl Ord for SystemRole
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SystemRole
impl PartialEq for SystemRole
Source§impl PartialOrd for SystemRole
impl PartialOrd for SystemRole
Source§impl Serialize for SystemRole
impl Serialize for SystemRole
impl StructuralPartialEq for SystemRole
Auto Trait Implementations§
impl Freeze for SystemRole
impl RefUnwindSafe for SystemRole
impl Send for SystemRole
impl Sync for SystemRole
impl Unpin for SystemRole
impl UnsafeUnpin for SystemRole
impl UnwindSafe for SystemRole
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