Type Alias ServerDb
Source pub type ServerDb = ServerV4;
pub struct ServerDb {
pub usernames: LookupTable<String, Owner>,
pub metas: LookupTable<Uuid, ServerFile>,
pub sizes: LookupTable<Uuid, u64>,
pub google_play_ids: LookupTable<String, Owner>,
pub stripe_ids: LookupTable<String, Owner>,
pub app_store_ids: LookupTable<String, Owner>,
pub last_seen: LookupTable<Owner, u64>,
pub accounts: LookupTable<Owner, Account>,
pub owned_files: LookupSet<Owner, Uuid>,
pub shared_files: LookupSet<Owner, Uuid>,
pub file_children: LookupSet<Uuid, Uuid>,
}