이 페이지에서

QtGrpc::RpcDescriptor Struct

struct QtGrpc::RpcDescriptor

서비스 이름, 메서드 이름 및 RPC 유형과 함께 gRPC 메서드를 설명합니다. 더 보기...

헤더: #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)

seed 을 사용하여 key 에 대한 해시값을 반환합니다.

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.