mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 12:52:27 +00:00
frontend: Add basic information about collections
This commit is contained in:
@@ -37,3 +37,11 @@ pub struct CollectionOperation {
|
||||
pub topic: String,
|
||||
pub data: CollectionOperationInfo,
|
||||
}
|
||||
|
||||
#[derive(Default, Debug, Clone)]
|
||||
pub struct CollectionMetadata {
|
||||
pub len: usize,
|
||||
pub deleted_len: usize,
|
||||
pub size: u64,
|
||||
pub deleted_size: u64,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user