pub struct DigitalBirthRecord {
pub subject: PrincipalRef,
pub biometrics: Vec<BiometricClass>,
pub parentage: Parentage,
pub guardianship: Guardianship,
pub agency_stage: AgencyStage,
pub issued_by: Option<PrincipalRef>,
pub birth_date: Option<String>,
}Expand description
A Digital Birth Record — the foundational, self-owned, biometric-extended record produced at birth. An inalienable prosthetic extension of the person: they own it; the guardianship commons stewards it (and the data store) as their agency develops.
Fields§
§subject: PrincipalRefThe born person — the subject who owns this record (their own pairwise fabric, carried from the emerging child; never collapsed into a guardian or parent).
biometrics: Vec<BiometricClass>Which biometrics are attached (structure only; data held Sanctuary-class in the person’s store).
parentage: ParentageThe parentage carried forward from gestation (genetic + social roles), the basis of the biological default and of ancestry use-cases.
guardianship: GuardianshipThe stewardship commons (default biological parents, subject to official credentials).
agency_stage: AgencyStageThe subject’s stage on the developmental agency gradient (at birth, AgencyStage::Neonate).
issued_by: Option<PrincipalRef>The issuing/attesting authority’s principal (br:issuedBy), if any. It attests; it does not own.
birth_date: Option<String>Date of birth as an ISO-8601 string, if recorded (kept as a string so this pure crate takes no date dependency; the caller supplies it).
Implementations§
Source§impl DigitalBirthRecord
impl DigitalBirthRecord
Sourcepub const fn forum_class(&self) -> ForumClass
pub const fn forum_class(&self) -> ForumClass
A birth record is forum internum, Sanctuary-class (biometrics + a person’s foundational
record — the most sensitive class).
Sourcepub const fn sensitivity_class(&self) -> &'static str
pub const fn sensitivity_class(&self) -> &'static str
Sensitivity class.
Sourcepub fn guardians(&self) -> Vec<&PrincipalRef>
pub fn guardians(&self) -> Vec<&PrincipalRef>
The effective guardians / stewards (br:isGuardianOf → this subject).
Sourcepub fn validate(&self) -> Result<(), BirthRecordInvalid>
pub fn validate(&self) -> Result<(), BirthRecordInvalid>
Enforce the rights invariants.