torrust-actix 4.2.3

A rich, fast and efficient Bittorrent Tracker.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::config::structs::database_structure_config_torrents::DatabaseStructureConfigTorrents;

impl Default for DatabaseStructureConfigTorrents {
    fn default() -> Self {
        DatabaseStructureConfigTorrents {
            table_name: String::from("torrents"),
            column_infohash: String::from("infohash"),
            bin_type_infohash: true,
            column_seeds: String::from("seeds"),
            column_peers: String::from("peers"),
            column_completed: String::from("completed"),
        }
    }
}