Desktop config: ratelimits
This commit is contained in:
parent
2a7c632b2b
commit
06b50d65ab
3 changed files with 7 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ use std::num::NonZero;
|
|||
use std::num::NonZeroU32;
|
||||
use std::sync::Arc;
|
||||
|
||||
#[derive(Default, Serialize, Deserialize, Clone, Copy)]
|
||||
#[derive(Default, Serialize, Deserialize, Clone, Copy, Debug, PartialEq, Eq)]
|
||||
pub struct LimitsConfig {
|
||||
pub upload_bps: Option<NonZero<u32>>,
|
||||
pub download_bps: Option<NonZero<u32>>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue