Unify API types a bit (remove list item)

This commit is contained in:
Igor Katson 2024-11-06 17:08:47 +00:00
parent 03022f16c2
commit 30bfb3ea19
2 changed files with 30 additions and 12 deletions

View file

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