use serde::{Deserialize, Serialize}; use crate::time::Timestamp; #[derive(Serialize, Deserialize, Clone)] pub struct Context { /// Redis DB to use pub id: u32, /// Actor ids which have admin rights on this context pub admins: Vec, /// Actor ids which can read the context info pub readers: Vec, /// Actor ids which can execute jobs in this context pub executors: Vec, pub created_at: Timestamp, pub updated_at: Timestamp, }