brk: first commit

This commit is contained in:
nym21
2025-02-23 01:25:15 +01:00
parent 8c3f519016
commit 19cf34f9d4
266 changed files with 225 additions and 1268 deletions

14
_src/structs/sent_data.rs Normal file
View File

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