blob: 238c49578648edb0287232251327f4ccb643381d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
use libquassel_derive::Network;
#[derive(Debug, Clone, PartialEq, Network)]
#[network(repr = "list")]
pub struct CertManager {
#[network(rename = "sslKey", variant = "ByteArray")]
pub ssl_key: String,
#[network(rename = "sslCert", variant = "ByteArray")]
pub ssl_cert: String,
// // C->S calls
// /**
// * Replaces all properties of the object with the content of the
// * "properties" parameter. This parameter is in network representation.
// */
// requestUpdate(properties: QVariantMap)
// // S->C calls
// setSslCert(encoded: QByteBuffer | null)
// setSslKey(encoded: QByteBuffer | null)
// /**
// * Replaces all properties of the object with the content of the
// * "properties" parameter. This parameter is in network representation.
// */
// update(properties: QVariantMap)
}
|