このページでは

QtGrpc::RpcDescriptor Struct

struct QtGrpc::RpcDescriptor

gRPCメソッドのサービス名、メソッド名、RPCタイプを記述します。詳細...

ヘッダ #include <QtGrpcNamespace>
CMake: find_package(Qt6 REQUIRED COMPONENTS Grpc)
target_link_libraries(mytarget PRIVATE Qt6::Grpc)
以来:Qt 6.11

この構造体は強く比較可能です。

パブリック変数

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)

詳細説明

RpcDescriptor構造体は、RPCコールの開始と記述に使用されるgRPCメソッドに関する識別情報を保持します。これにより、QtGrpc 、各操作をそのサービス、メソッド、通信パターンに関連付けることができる。

QtGrpc::RpcTypeも参照してください

メンバ変数ドキュメント

QLatin1StringView RpcDescriptor::method

サービス内のgRPCメソッドの名前。

QLatin1StringView RpcDescriptor::service

このメソッドが属するgRPCサービスの名前。

QtGrpc::RpcType RpcDescriptor::type

QtGrpc::RpcType で定義されている RPC のタイプ。

関連する非会員

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

key のハッシュ値を返す。計算のシードにはseed を使用する。

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

description を指定されたストリームに書き込む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.