fabaccess-bffh/bffhd/capnp/session.rs

17 lines
323 B
Rust
Raw Normal View History

use crate::capnp::machinesystem::Machines;
use crate::capnp::user_system::Users;
2021-12-06 21:53:42 +01:00
#[derive(Debug, Clone)]
pub struct Session {
resources: Machines,
2021-12-06 21:53:42 +01:00
users: Users,
}
impl Session {
pub fn new() -> Self {
Session {
resources: Machines::new(),
2021-12-06 21:53:42 +01:00
users: Users::new(),
}
}
}