signer-remote 0.4.1

Signer remote communication package.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! 资源使用量相关功能
use serde::{Deserialize, Serialize};

/// 资源用量信息
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct ResourceUsage {
    /// CRDT 消息条数
    pub crdt_message_count: i64,
    /// Envelope 数量
    pub envelope_count: i64,
    /// 存储大小(字节)
    pub storage_size_bytes: i64,
}