fabaccess-bffh/bffhd/resources/db.rs

19 lines
495 B
Rust
Raw Normal View History

2021-10-19 11:16:24 +02:00
use rkyv::{Archive, Serialize, Deserialize};
2022-03-08 18:56:03 +01:00
use crate::db::DB;
2021-10-27 17:53:00 +02:00
use crate::db::{AlignedAdapter, AllocAdapter};
2022-03-08 18:56:03 +01:00
use crate::db::RawDB;
2021-10-19 11:16:24 +02:00
use std::sync::Arc;
2021-10-20 18:37:50 +02:00
use crate::db::{Environment, DatabaseFlags};
use crate::db::Result;
2022-03-13 20:11:37 +01:00
use crate::resources::state::db::StateDB;
2021-10-20 18:37:50 +02:00
#[derive(Clone, Debug, PartialEq, Eq)]
#[derive(Archive, Serialize, Deserialize)]
2021-10-20 18:37:50 +02:00
#[derive(serde::Serialize, serde::Deserialize)]
pub struct Resource {
uuid: u128,
id: String,
name_idx: u64,
description_idx: u64,
2021-10-19 11:16:24 +02:00
}