mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-23 23:27:57 +01:00
16 lines
269 B
Rust
16 lines
269 B
Rust
|
use api::role_capnp::role;
|
||
|
use crate::session::SessionHandle;
|
||
|
|
||
|
pub struct Role {
|
||
|
session: SessionHandle,
|
||
|
id: String,
|
||
|
}
|
||
|
impl Role {
|
||
|
pub fn new(session: SessionHandle, id: String) -> Self {
|
||
|
Self { session, id }
|
||
|
}
|
||
|
}
|
||
|
|
||
|
impl role::Server for Role {
|
||
|
|
||
|
}
|