このページでは

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

QtGrpc::RpcDescriptor の比較

カテゴリ比較可能な型
strongQtGrpc::RpcDescriptor

パブリック変数

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.