Add with_stats=true to torrents list

This commit is contained in:
Igor Katson 2024-11-06 17:19:33 +00:00
parent 30bfb3ea19
commit a90f245dc9
4 changed files with 37 additions and 18 deletions

View file

@ -4,7 +4,7 @@ use serde::Serialize;
use crate::torrent_state::live::peers::stats::snapshot::AggregatePeerStats;
#[derive(Debug, Serialize, Deserialize, Default)]
#[derive(Debug, Serialize, Default)]
pub struct StatsSnapshot {
pub downloaded_and_checked_bytes: u64,