wearust/
identity.rs

1
2use serde_json::Value;
3
4#[derive(Debug, Clone)]
5pub struct Identity {
6    pub user_id: String,
7    pub data: Value,
8}
9
10impl Identity {
11    pub fn data(&self) -> &Value {
12        &self.data
13    }
14}