QtGrpc::RpcDescriptor Struct
struct QtGrpc::RpcDescriptorDescribes a gRPC method with its service name, method name, and RPC type. More...
| Header: | #include <QtGrpcNamespace> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Grpc)target_link_libraries(mytarget PRIVATE Qt6::Grpc) |
| Since: | Qt 6.11 |
QtGrpc::RpcDescriptor Comparisons
| Category | Comparable Types |
|---|---|
| strong | QtGrpc::RpcDescriptor |
Public Variables
Related Non-Members
| size_t | qHash(const QtGrpc::RpcDescriptor &key, size_t seed = 0) |
| QDebug | operator<<(QDebug debug, const QtGrpc::RpcDescriptor &description) |
Detailed Description
The RpcDescriptor struct holds identifying information about a gRPC method used to initiate and describe RPC calls. It allows QtGrpc to associate each operation with its service, method, and communication pattern.
See also QtGrpc::RpcType.
Member Variable Documentation
QLatin1StringView RpcDescriptor::method
The name of the gRPC method within the service.
QLatin1StringView RpcDescriptor::service
The name of the gRPC service this method belongs to.
QtGrpc::RpcType RpcDescriptor::type
The type of RPC, as defined by QtGrpc::RpcType.
Related Non-Members
[constexpr noexcept] size_t qHash(const QtGrpc::RpcDescriptor &key, size_t seed = 0)
Returns the hash value for key, using seed to seed the calculation.
QDebug operator<<(QDebug debug, const QtGrpc::RpcDescriptor &description)
Writes description to the specified stream 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.