derive/impl and use Default for some structs
and revamp HttpClientOptions with two constructors for the common use cases Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
1 parent
f4e52bb27d
commit
93e3581ce7
10 files changed
+50
-40
No files matched your search
@@ -67,6 +67,7 @@ fn remove_incomplete_snapshots(
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Default)]
|
||||
pub struct PruneOptions {
|
||||
pub keep_last: Option<u64>,
|
||||
pub keep_hourly: Option<u64>,
|
||||
|
||||
Reference in new issue
Block a user