QtGrpc::RpcDescriptor Struct
struct QtGrpc::RpcDescriptorDécrit une méthode gRPC en indiquant le nom du service, le nom de la méthode et le type RPC. En savoir plus...
| En-tête : | #include <QtGrpcNamespace> |
| CMake : | find_package(Qt6 REQUIRED COMPONENTS Grpc) target_link_libraries(mytarget PRIVATE Qt6::Grpc) |
| Depuis : | Qt 6.11 |
Comparaisons QtGrpc::RpcDescriptor
| Catégorie | Types comparables |
|---|---|
| strong | QtGrpc::RpcDescriptor |
Variables publiques
Éléments non membres associés
| size_t | qHash(const QtGrpc::RpcDescriptor &key, size_t seed = 0) |
| QDebug | operator<<(QDebug debug, const QtGrpc::RpcDescriptor &description) |
Description détaillée
La structure RpcDescriptor contient des informations d'identification concernant une méthode gRPC utilisée pour initier et décrire les appels RPC. Elle permet à QtGrpc d'associer chaque opération à son service, à sa méthode et à son modèle de communication.
Voir également QtGrpc::RpcType.
Documentation sur les variables membres
QLatin1StringView RpcDescriptor::method
Le nom de la méthode gRPC au sein du service.
QLatin1StringView RpcDescriptor::service
Nom du service gRPC auquel appartient cette méthode.
QtGrpc::RpcType RpcDescriptor::type
Le type de RPC, tel que défini par QtGrpc::RpcType.
Personnes concernées non membres
[constexpr noexcept] size_t qHash(const QtGrpc::RpcDescriptor &key, size_t seed = 0)
Renvoie la valeur de hachage de key, en utilisant seed comme graine pour le calcul.
QDebug operator<<(QDebug debug, const QtGrpc::RpcDescriptor &description)
Écrit description dans le flux spécifié 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.