pub struct MaternalFetalDyad {
pub maternal: MaternalBody,
pub child: EmergingChild,
pub gestational_age_days: u32,
pub carnegie_stage: Option<u32>,
pub interface: InterfaceKind,
pub social_rights_threshold: SocialRightsThreshold,
}Expand description
The dyad: two coupled principals joined by the interface. Sanctuary-class, forum-internum data.
Fields§
§maternal: MaternalBody§child: EmergingChild§gestational_age_days: u32Gestational age in days. Convention is the caller’s to state: clinical gestational age is from the last menstrual period (LMP); the Carnegie/embryology assets are indexed postfertilization (~14 days earlier). Precise stage↔age↔trimester alignment is clinical content (§9), not asserted.
carnegie_stage: Option<u32>§interface: InterfaceKindThe (deferred) values setting for when a born child’s social rights accrue.
Implementations§
Source§impl MaternalFetalDyad
impl MaternalFetalDyad
Sourcepub fn give_birth(
&self,
biometrics: Vec<BiometricClass>,
credentials: Vec<CredentialRef>,
credentialed_guardians: Vec<PrincipalRef>,
issued_by: Option<PrincipalRef>,
birth_date: Option<String>,
) -> Result<DigitalBirthRecord, DyadInvalid>
pub fn give_birth( &self, biometrics: Vec<BiometricClass>, credentials: Vec<CredentialRef>, credentialed_guardians: Vec<PrincipalRef>, issued_by: Option<PrincipalRef>, birth_date: Option<String>, ) -> Result<DigitalBirthRecord, DyadInvalid>
Resolve the gestational dyad into a DigitalBirthRecord at birth. The emerging child becomes
the born subject (owner of the record) at AgencyStage::Neonate; the guardianship commons
defaults to the known biological parents (each a Steward via StewardBasis::BiologicalDefault),
subject to credentials + credentialed_guardians (an adoption/surrogacy order or a guardianship
grant — those become the stewards via StewardBasis::Credentialed, overriding the biological
default). Each default steward is assigned the general StewardRole::Guardian; splitting roles
across different stewards is a later, legal/curation act. Only valid from a valid dyad.
Source§impl MaternalFetalDyad
impl MaternalFetalDyad
Sourcepub const fn forum_class(&self) -> ForumClass
pub const fn forum_class(&self) -> ForumClass
A dyad’s data is always forum internum (a person’s — and an emerging person’s — inward domain).
Sourcepub const fn sensitivity_class(&self) -> &'static str
pub const fn sensitivity_class(&self) -> &'static str
Always the most-restrictive sensitivity class (Sanctuary), returned as the ladder’s canonical name
so the storage layer maps it without this pure crate depending on the sensitivity enum. The
high-water-mark rule makes anything derived from a dyad inherit this.
Sourcepub fn guardian(&self) -> &PrincipalRef
pub fn guardian(&self) -> &PrincipalRef
The guardian during gestation — the gestational mother. Guardianship is a scoped, revocable role, not ownership; whether/when it transfers post-birth (e.g. to intended parents in surrogacy) is a deferred values decision (§9.4).
Sourcepub fn trimester(&self) -> Option<Trimester>
pub fn trimester(&self) -> Option<Trimester>
The maternal trimester, if the mother is in a pregnant state.
Sourcepub fn validate(&self) -> Result<(), DyadInvalid>
pub fn validate(&self) -> Result<(), DyadInvalid>
Enforce the non-negotiable rights + possibility invariants.
Sourcepub fn considerations(&self) -> Vec<DyadConsideration>
pub fn considerations(&self) -> Vec<DyadConsideration>
The structural / rights / science considerations for a valid dyad — proposals, never determinations. These are the honest, non-medical statements the model can make; the cross-body physiological correlations are curation-grade and pointedly not seeded (their absence is deliberate, not a gap).