获取打印机信息 response
更多...
#include <WebInterface.h>
|
static QJsonObject | toJsonObject (std::optional< int > uid, const QList< QPrinterInfo > &printers) |
|
|
QList< PrinterInfo > | data {} |
|
bool | is_success = false |
| 是否成功
|
|
std::optional< int > | uid |
| uid,websocket 的消息request 和 resp 不限制对应关系,uid 保证了他们的联系, 也就是 uid 相同 的 request 和 response 对应 由request端生成
|
|
获取打印机信息 response
- 参见
- RespError
◆ toJsonObject()
static QJsonObject RespGetPrintersInfo::toJsonObject |
( |
std::optional< int > | uid, |
|
|
const QList< QPrinterInfo > & | printers ) |
|
inlinestatic |
◆ data
该结构体的文档由以下文件生成:
- /home/runner/work/WebpagePrinter/WebpagePrinter/src/model/WebInterface.h