pub struct MaternalBody {
pub principal: PrincipalRef,
pub state: PhysiologicalState,
}Expand description
The mother in the dyad: the gestational mother — the data-subject who carries, and the emerging
child’s guardian during gestation. Her whole-body model is in a pregnant PhysiologicalState.
Fields§
§principal: PrincipalRefThe gestational mother’s principal reference (she is also the guardian during gestation).
state: PhysiologicalStateExpected Reproductive(Pregnant(_)) — MaternalFetalDyad::validate enforces it.
Trait Implementations§
Source§impl Clone for MaternalBody
impl Clone for MaternalBody
Source§impl Debug for MaternalBody
impl Debug for MaternalBody
Source§impl<'de> Deserialize<'de> for MaternalBody
impl<'de> Deserialize<'de> for MaternalBody
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 MaternalBody
Source§impl PartialEq for MaternalBody
impl PartialEq for MaternalBody
Source§impl Serialize for MaternalBody
impl Serialize for MaternalBody
impl StructuralPartialEq for MaternalBody
Auto Trait Implementations§
impl Freeze for MaternalBody
impl RefUnwindSafe for MaternalBody
impl Send for MaternalBody
impl Sync for MaternalBody
impl Unpin for MaternalBody
impl UnsafeUnpin for MaternalBody
impl UnwindSafe for MaternalBody
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