pub struct BoundedContext {
pub name: String,
pub aggregates: Vec<Aggregate>,
}Fields§
§name: String§aggregates: Vec<Aggregate>Implementations§
Trait Implementations§
Source§impl Clone for BoundedContext
impl Clone for BoundedContext
Source§fn clone(&self) -> BoundedContext
fn clone(&self) -> BoundedContext
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BoundedContext
impl Debug for BoundedContext
Source§impl Default for BoundedContext
impl Default for BoundedContext
Source§fn default() -> BoundedContext
fn default() -> BoundedContext
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BoundedContext
impl<'de> Deserialize<'de> for BoundedContext
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
Source§impl PartialEq for BoundedContext
impl PartialEq for BoundedContext
Source§impl Serialize for BoundedContext
impl Serialize for BoundedContext
impl Eq for BoundedContext
impl StructuralPartialEq for BoundedContext
Auto Trait Implementations§
impl Freeze for BoundedContext
impl RefUnwindSafe for BoundedContext
impl Send for BoundedContext
impl Sync for BoundedContext
impl Unpin for BoundedContext
impl UnwindSafe for BoundedContext
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.