pub struct Responsibility(/* private fields */);Expand description
What one business role is answerable for.
Implementations§
Trait Implementations§
Source§impl Clone for Responsibility
impl Clone for Responsibility
Source§impl Debug for Responsibility
impl Debug for Responsibility
Source§impl<'de> Deserialize<'de> for Responsibility
Decoding goes through the constructor.
impl<'de> Deserialize<'de> for Responsibility
Decoding goes through the constructor.
A derived implementation would accept a stored or transmitted value this type refuses to be built from, and the invariant would hold everywhere except where the document came from outside — which is the only place it was ever at risk.
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for Responsibility
impl Display for Responsibility
impl Eq for Responsibility
Source§impl Hash for Responsibility
impl Hash for Responsibility
Source§impl Ord for Responsibility
impl Ord for Responsibility
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 Responsibility
impl PartialEq for Responsibility
Source§impl PartialOrd for Responsibility
impl PartialOrd for Responsibility
Source§impl Serialize for Responsibility
impl Serialize for Responsibility
impl StructuralPartialEq for Responsibility
Source§impl TryFrom<&str> for Responsibility
impl TryFrom<&str> for Responsibility
Auto Trait Implementations§
impl Freeze for Responsibility
impl RefUnwindSafe for Responsibility
impl Send for Responsibility
impl Sync for Responsibility
impl Unpin for Responsibility
impl UnsafeUnpin for Responsibility
impl UnwindSafe for Responsibility
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