agent_storage/family/family_relationship.rs
1//! Describes a member's relationship within a family, independently of permissions.
2
3use serde::{Deserialize, Serialize};
4
5/// Describes a member's relationship within one family, not their permissions.
6/// Add variants as the product vocabulary evolves; do not infer tree constraints.
7#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Serialize, Deserialize)]
8#[serde(rename_all = "snake_case")]
9pub enum FamilyRelationship {
10 Father,
11 Mother,
12 Son,
13 Daughter,
14 Grandfather,
15 Grandmother,
16 Partner,
17 Other,
18}