fabaccess-bffh/bffhd/capnp/role.rs

16 lines
269 B
Rust
Raw Normal View History

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 {
}