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

Moduleproto-lens-protobuf-types-0.7.2.2Haskell2010

Data.ProtoLens.Any

  • 2 types
  • 3 values
datadata Any
#

Fields :

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

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

Instances9Eq, 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 Option "maybe'value" (Maybe Any)Defined in proto-lens-protobuf-types-0.7.2.2 · Proto.Google.Protobuf.Type
valuepack :: Message a => a -> Any
#

Packs the given message into an Any using the default type URL prefix "type.googleapis.com".

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