mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-22 23:07:56 +01:00
17 lines
323 B
Rust
17 lines
323 B
Rust
use crate::capnp::machinesystem::Machines;
|
|
use crate::capnp::user_system::Users;
|
|
|
|
#[derive(Debug, Clone)]
|
|
pub struct Session {
|
|
resources: Machines,
|
|
users: Users,
|
|
}
|
|
|
|
impl Session {
|
|
pub fn new() -> Self {
|
|
Session {
|
|
resources: Machines::new(),
|
|
users: Users::new(),
|
|
}
|
|
}
|
|
} |