mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-11 01:53:23 +01:00
36 lines
594 B
Rust
36 lines
594 B
Rust
use capnp::capability::Promise;
|
|
use capnp::Error;
|
|
use capnp_rpc::pry;
|
|
|
|
use api::usersystem_capnp::user_system::{
|
|
Server as UserSystem,
|
|
info, info::Server as InfoServer,
|
|
manage, manage::Server as ManageServer,
|
|
};
|
|
use crate::authorization::AuthorizationHandle;
|
|
use crate::session::SessionHandle;
|
|
|
|
#[derive(Debug, Clone)]
|
|
pub struct Users {
|
|
session: SessionHandle,
|
|
}
|
|
|
|
impl Users {
|
|
pub fn new(session: SessionHandle) -> Self {
|
|
Self {
|
|
session,
|
|
}
|
|
}
|
|
}
|
|
|
|
impl UserSystem for Users {
|
|
|
|
}
|
|
|
|
impl InfoServer for Users {
|
|
|
|
}
|
|
|
|
impl ManageServer for Users {
|
|
|
|
} |