Auf dieser Seite

QtGrpc::RpcDescriptor Struct

struct QtGrpc::RpcDescriptor

Beschreibt eine gRPC-Methode mit ihrem Servicenamen, Methodennamen und RPC-Typ. Mehr...

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

Vergleiche von QtGrpc::RpcDescriptor

KategorieVergleichbare Typen
starkQtGrpc::RpcDescriptor

Öffentliche Variablen

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)

Ausführliche Beschreibung

Die Struktur `RpcDescriptor` enthält identifizierende Informationen zu einer gRPC-Methode, die zum Initiieren und Beschreiben von RPC-Aufrufen verwendet wird. Sie ermöglicht es ` QtGrpc `, jede Operation ihrem Dienst, ihrer Methode und ihrem Kommunikationsmuster zuzuordnen.

Siehe auch „ QtGrpc::RpcType “.

Dokumentation zu den Member-Variablen

QLatin1StringView RpcDescriptor::method

Der Name der gRPC-Methode innerhalb des Dienstes.

QLatin1StringView RpcDescriptor::service

Der Name des gRPC-Dienstes, zu dem diese Methode gehört.

QtGrpc::RpcType RpcDescriptor::type

Der RPC-Typ gemäß der Definition unter QtGrpc::RpcType.

Verwandte Nichtmitglieder

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

Gibt den Hash-Wert für „ key “ zurück, wobei „ seed “ als Startwert für die Berechnung verwendet wird.

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

Schreibt „ description “ in den angegebenen 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.