pub enum BirthRecordInvalid {
NoSubject,
SubjectCollapsed,
NoSteward,
}Expand description
A reason a birth record is structurally invalid — a rights violation or an impossibility.
Variants§
NoSubject
The subject (the born person) is missing.
SubjectCollapsed
The subject is collapsed into a steward or parent — the person is their own principal, never a field of an adult’s identity.
NoSteward
No steward — a child is never left unstewarded (an infant is not self-sovereign).
Trait Implementations§
Source§impl Clone for BirthRecordInvalid
impl Clone for BirthRecordInvalid
Source§impl Debug for BirthRecordInvalid
impl Debug for BirthRecordInvalid
Source§impl<'de> Deserialize<'de> for BirthRecordInvalid
impl<'de> Deserialize<'de> for BirthRecordInvalid
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 BirthRecordInvalid
Source§impl PartialEq for BirthRecordInvalid
impl PartialEq for BirthRecordInvalid
Source§impl Serialize for BirthRecordInvalid
impl Serialize for BirthRecordInvalid
impl StructuralPartialEq for BirthRecordInvalid
Auto Trait Implementations§
impl Freeze for BirthRecordInvalid
impl RefUnwindSafe for BirthRecordInvalid
impl Send for BirthRecordInvalid
impl Sync for BirthRecordInvalid
impl Unpin for BirthRecordInvalid
impl UnsafeUnpin for BirthRecordInvalid
impl UnwindSafe for BirthRecordInvalid
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