use chrono::Utc;
use serde::Deserialize;
use crate::{
events::EventInfo,
exports,
};
#[derive(Deserialize, Debug)]
pub struct IdentityEvent {
#[serde(flatten)]
pub info: EventInfo,
pub identity: IdentityData,
}
#[derive(Deserialize, Debug)]
pub struct IdentityData {
pub did: exports::Did,
pub handle: Option<exports::Handle>,
pub seq: u64,
pub time: chrono::DateTime<Utc>,
}