fabaccess-bffh/bffhd/resources/db.rs
2022-03-13 20:11:37 +01:00

19 lines
495 B
Rust

use rkyv::{Archive, Serialize, Deserialize};
use crate::db::DB;
use crate::db::{AlignedAdapter, AllocAdapter};
use crate::db::RawDB;
use std::sync::Arc;
use crate::db::{Environment, DatabaseFlags};
use crate::db::Result;
use crate::resources::state::db::StateDB;
#[derive(Clone, Debug, PartialEq, Eq)]
#[derive(Archive, Serialize, Deserialize)]
#[derive(serde::Serialize, serde::Deserialize)]
pub struct Resource {
uuid: u128,
id: String,
name_idx: u64,
description_idx: u64,
}