use super::PlatformPrincipalId;
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub enum PlatformPrincipalStatus {
Active,
Inactive,
}
#[derive(Clone, Debug, Eq, PartialEq, Hash)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct PlatformSubject {
pub principal: PlatformPrincipalId,
}
impl PlatformSubject {
pub fn new(principal: PlatformPrincipalId) -> Self {
Self { principal }
}
}