En esta página

QtGrpc::RpcDescriptor Struct

struct QtGrpc::RpcDescriptor

Describe un método gRPC con su nombre de servicio, nombre de método y tipo RPC. Más...

Cabecera: #include <QtGrpcNamespace>
CMake: find_package(Qt6 REQUIRED COMPONENTS Grpc)
target_link_libraries(mytarget PRIVATE Qt6::Grpc)
Desde: Qt 6.11

Esta estructura es fuertemente comparable.

Variables Públicas

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)

Descripción Detallada

La estructura RpcDescriptor contiene información de identificación sobre un método gRPC utilizado para iniciar y describir llamadas RPC. Permite a QtGrpc asociar cada operación con su servicio, método y patrón de comunicación.

Véase también QtGrpc::RpcType.

Documentación de variables miembro

QLatin1StringView RpcDescriptor::method

El nombre del método gRPC dentro del servicio.

QLatin1StringView RpcDescriptor::service

El nombre del servicio gRPC al que pertenece este método.

QtGrpc::RpcType RpcDescriptor::type

El tipo de RPC, tal y como se define en QtGrpc::RpcType.

No miembros relacionados

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

Devuelve el valor hash para key, utilizando seed para sembrar el cálculo.

QDebug operator<<(QDebug debug, const QtGrpc::RpcDescriptor &description)

Escribe description en el flujo especificado 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.