HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulegrapesy-1.1.1Haskell2010

Network.GRPC.Common.Protobuf.Any

Support for the protobuf Any type

Official docs at https://protobuf.dev/programming-guides/proto3/#any.

Intended for qualified import.

import Network.GRPC.Common.Protobuf.Any (Any)
import Network.GRPC.Common.Protobuf.Any qualified as Any
  • 2 types
  • 2 values
  • Packagegrapesy-1.1.1
  • Exports4
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceAny.hs
datadata Any
#

Fields :

  • typeUrl :: Lens' Any Data.Text.Text

  • value :: Lens' Any Data.ByteString.ByteString

Instances11Eq, Ord, Show, NFData, Message, HasField, …
  • Eq AnyDefined in proto-lens-protobuf-types-0.7.2.2 · Proto.Google.Protobuf.Any
  • Ord AnyDefined in proto-lens-protobuf-types-0.7.2.2 · Proto.Google.Protobuf.Any
  • Show AnyDefined in proto-lens-protobuf-types-0.7.2.2 · Proto.Google.Protobuf.Any
  • NFData AnyDefined in proto-lens-protobuf-types-0.7.2.2 · Proto.Google.Protobuf.Any
  • Message AnyDefined in proto-lens-protobuf-types-0.7.2.2 · Proto.Google.Protobuf.Any
  • HasField Any "typeUrl" TextDefined in proto-lens-protobuf-types-0.7.2.2 · Proto.Google.Protobuf.Any
  • HasField Any "value" ByteStringDefined in proto-lens-protobuf-types-0.7.2.2 · Proto.Google.Protobuf.Any
  • HasField Option "value" AnyDefined in proto-lens-protobuf-types-0.7.2.2 · Proto.Google.Protobuf.Type
  • HasField Status "details" [Any]Defined in grpc-spec-1.0.0 · Proto.Status
  • HasField Status "vec'details" (Vector Any)Defined in grpc-spec-1.0.0 · Proto.Status
  • HasField Option "maybe'value" (Maybe Any)Defined in proto-lens-protobuf-types-0.7.2.2 · Proto.Google.Protobuf.Type

Packing and unpacking

3 declarations
datadata UnpackError
#

A description of a failure during unpack to decode an Any message into the expected type.

Constructors

Instances3Eq, Show, Exception
  • Eq UnpackErrorDefined in proto-lens-protobuf-types-0.7.2.2 · Data.ProtoLens.Any
  • Show UnpackErrorDefined in proto-lens-protobuf-types-0.7.2.2 · Data.ProtoLens.Any
  • Exception UnpackErrorDefined in proto-lens-protobuf-types-0.7.2.2 · Data.ProtoLens.Any