add role to membership history

This commit is contained in:
Robin Appelman 2025-04-15 21:57:14 +02:00
commit 7d04d93948
4 changed files with 335 additions and 162 deletions

View file

@ -248,6 +248,7 @@ pub struct RosterHistory {
pub joined: Date,
#[cfg_attr(feature = "serde", serde(with = "serde_date::opt"))]
pub left: Option<Date>,
pub role: MembershipRole,
}
#[derive(Debug, Clone)]