git: reset

This commit is contained in:
k
2024-06-23 17:38:53 +02:00
commit a1a576d088
375 changed files with 40952 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
use super::WAmount;
#[derive(Default, Debug)]
pub struct SentData {
pub volume: WAmount,
pub count: u32,
}
impl SentData {
pub fn send(&mut self, amount: WAmount) {
self.volume += amount;
self.count += 1;
}
}