2021-10-28 00:32:25 +02:00
|
|
|
|
2021-11-26 02:25:48 +01:00
|
|
|
//! FabAccess generated API bindings
|
|
|
|
//!
|
|
|
|
//! This crate contains slightly nicer and better documented bindings for the FabAccess API.
|
2021-10-28 00:32:25 +02:00
|
|
|
|
|
|
|
|
2021-11-26 22:11:24 +01:00
|
|
|
pub mod schema;
|
2021-11-26 02:25:48 +01:00
|
|
|
|
|
|
|
/// Authentication subsystem
|
|
|
|
pub mod auth {
|
|
|
|
/// Session authentication
|
|
|
|
///
|
|
|
|
/// Authentication uses a SASL exchange. To bootstrap a connection you will need to call
|
|
|
|
/// `step` until you get a successful result
|
|
|
|
pub mod authentication {
|
|
|
|
pub use crate::schema::auth_capnp::authentication::*;
|
|
|
|
}
|
|
|
|
|
|
|
|
pub mod response {
|
|
|
|
pub use crate::schema::auth_capnp::response::*;
|
|
|
|
}
|
2021-10-28 00:32:25 +02:00
|
|
|
}
|
|
|
|
|
2021-11-26 02:25:48 +01:00
|
|
|
pub mod resource {
|
|
|
|
pub use crate::schema::resource_capnp::*;
|
2021-10-28 00:32:25 +02:00
|
|
|
}
|
|
|
|
|
2021-11-26 02:25:48 +01:00
|
|
|
pub mod resources {
|
|
|
|
pub use crate::schema::resources_capnp::*;
|
2021-10-28 00:32:25 +02:00
|
|
|
}
|
|
|
|
|
2021-11-26 02:25:48 +01:00
|
|
|
pub mod role {
|
|
|
|
pub use crate::schema::role_capnp::*;
|
2021-10-28 00:32:25 +02:00
|
|
|
}
|
|
|
|
|
2021-11-26 02:25:48 +01:00
|
|
|
pub mod user {
|
2021-11-26 22:11:24 +01:00
|
|
|
pub use crate::schema::user_capnp::user::*;
|
2021-10-28 00:32:25 +02:00
|
|
|
}
|
|
|
|
|
2021-11-26 02:25:48 +01:00
|
|
|
pub mod users {
|
|
|
|
pub use crate::schema::users_capnp::*;
|
2021-10-27 23:42:44 +02:00
|
|
|
}
|
2021-11-26 02:25:48 +01:00
|
|
|
|
|
|
|
pub mod utils {
|
|
|
|
pub mod uuid {
|
|
|
|
pub use crate::schema::utils_capnp::u_u_i_d::*;
|
|
|
|
}
|
|
|
|
|
|
|
|
/// Localization String
|
|
|
|
///
|
|
|
|
/// This is a specialized string that allows to access the string contents in different
|
|
|
|
/// languages
|
|
|
|
pub mod l10n_string {
|
|
|
|
pub use crate::schema::utils_capnp::l10_n_string::*;
|
|
|
|
}
|
2021-11-26 22:11:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
pub mod bootstrap {
|
|
|
|
pub use crate::schema::main_capnp::bootstrap::*;
|
|
|
|
}
|
|
|
|
|
|
|
|
pub mod session {
|
|
|
|
pub use crate::schema::main_capnp::session::*;
|
2021-11-26 02:25:48 +01:00
|
|
|
}
|