pub enum Subdomain {
Core,
Supporting,
Generic,
}Expand description
DDD subdomain type
Variants§
Core
Core subdomain - competitive advantage, high volatility
Supporting
Supporting subdomain - stable business logic, low volatility
Generic
Generic subdomain - solved problems, low volatility
Implementations§
Source§impl Subdomain
impl Subdomain
Sourcepub fn expected_volatility(&self) -> Volatility
pub fn expected_volatility(&self) -> Volatility
Map subdomain to expected volatility level
Trait Implementations§
impl Copy for Subdomain
impl Eq for Subdomain
impl StructuralPartialEq for Subdomain
Auto Trait Implementations§
impl Freeze for Subdomain
impl RefUnwindSafe for Subdomain
impl Send for Subdomain
impl Sync for Subdomain
impl Unpin for Subdomain
impl UnsafeUnpin for Subdomain
impl UnwindSafe for Subdomain
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more