aboutsummaryrefslogtreecommitdiff
path: root/src/message/signalproxy/objects/certmanager.rs
blob: d105fcf10ac00c034bbd08929e05673ad93e1322 (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
use libquassel_derive::NetworkList;

#[derive(Debug, Clone, PartialEq, NetworkList)]
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)
}