Sur cette page

QtGrpc::RpcDescriptor Struct

struct QtGrpc::RpcDescriptor

Décrit une méthode gRPC avec son nom de service, son nom de méthode et son type RPC. Plus d'informations...

En-tête : #include <QtGrpcNamespace>
CMake : find_package(Qt6 REQUIRED COMPONENTS Grpc)
target_link_libraries(mytarget PRIVATE Qt6::Grpc)
Depuis : Qt 6.11

Cette structure est fortement comparable.

Variables publiques

QLatin1StringView method
QLatin1StringView service
QtGrpc::RpcType type
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 sur une méthode gRPC utilisée pour lancer et décrire des 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 des variables membres

QLatin1StringView RpcDescriptor::method

Le nom de la méthode gRPC au sein du service.

QLatin1StringView RpcDescriptor::service

Le nom du service gRPC auquel cette méthode appartient.

QtGrpc::RpcType RpcDescriptor::type

Le type de RPC, tel que défini par QtGrpc::RpcType.

Non-membres apparentés

[constexpr noexcept] size_t qHash(const QtGrpc::RpcDescriptor &key, size_t seed = 0)

Renvoie la valeur de hachage pour key, en utilisant seed comme base de 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.