QtGrpc::RpcDescriptor Struct
struct QtGrpc::RpcDescriptorDescrive un metodo gRPC indicando il nome del servizio, il nome del metodo e il tipo RPC. Per saperne di più...
| Intestazione: | #include <QtGrpcNamespace> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Grpc) target_link_libraries(mytarget PRIVATE Qt6::Grpc) |
| A partire da: | Qt 6.11 |
Confronto tra QtGrpc::RpcDescriptor
| Categoria | Tipi comparabili |
|---|---|
| strong | QtGrpc::RpcDescriptor |
Variabili pubbliche
Elementi non membri correlati
| size_t | qHash(const QtGrpc::RpcDescriptor &key, size_t seed = 0) |
| QDebug | operator<<(QDebug debug, const QtGrpc::RpcDescriptor &description) |
Descrizione dettagliata
La struttura RpcDescriptor contiene informazioni identificative relative a un metodo gRPC utilizzate per avviare e descrivere le chiamate RPC. Consente a QtGrpc di associare ciascuna operazione al proprio servizio, metodo e modello di comunicazione.
Vedi anche QtGrpc::RpcType.
Documentazione sulle variabili membro
QLatin1StringView RpcDescriptor::method
Il nome del metodo gRPC all'interno del servizio.
QLatin1StringView RpcDescriptor::service
Il nome del servizio gRPC a cui appartiene questo metodo.
QtGrpc::RpcType RpcDescriptor::type
Il tipo di RPC, come definito all'indirizzo QtGrpc::RpcType.
Persone non iscritte correlate
[constexpr noexcept] size_t qHash(const QtGrpc::RpcDescriptor &key, size_t seed = 0)
Restituisce il valore hash per key, utilizzando seed come seme per il calcolo.
QDebug operator<<(QDebug debug, const QtGrpc::RpcDescriptor &description)
Scrive description sul flusso specificato debug.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.