proto3-suite-0.4.2: A low level library for writing out data in the Protocol Buffers wire format
Safe HaskellNone
LanguageHaskell2010

Google.Protobuf.Timestamp

Description

This module has been initialized using https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/timestamp.proto

The ToJSONPB and FromJSONPB instances have been modified to be compatible with the json rfc3339 encoding

Documentation

data Timestamp Source #

Instances

Instances details
Eq Timestamp Source # 
Instance details

Defined in Google.Protobuf.Timestamp

Ord Timestamp Source # 
Instance details

Defined in Google.Protobuf.Timestamp

Show Timestamp Source # 
Instance details

Defined in Google.Protobuf.Timestamp

Generic Timestamp Source # 
Instance details

Defined in Google.Protobuf.Timestamp

Associated Types

type Rep Timestamp :: Type -> Type #

ToJSON Timestamp Source # 
Instance details

Defined in Google.Protobuf.Timestamp

FromJSON Timestamp Source # 
Instance details

Defined in Google.Protobuf.Timestamp

NFData Timestamp Source # 
Instance details

Defined in Google.Protobuf.Timestamp

Methods

rnf :: Timestamp -> () #

ToSchema Timestamp Source # 
Instance details

Defined in Google.Protobuf.Timestamp

Message Timestamp Source # 
Instance details

Defined in Google.Protobuf.Timestamp

Named Timestamp Source # 
Instance details

Defined in Google.Protobuf.Timestamp

Methods

nameOf :: IsString string => Proxy# Timestamp -> string Source #

HasDefault Timestamp Source # 
Instance details

Defined in Google.Protobuf.Timestamp

FromJSONPB Timestamp Source # 
Instance details

Defined in Google.Protobuf.Timestamp

ToJSONPB Timestamp Source # 
Instance details

Defined in Google.Protobuf.Timestamp

type Rep Timestamp Source # 
Instance details

Defined in Google.Protobuf.Timestamp

type Rep Timestamp = D1 ('MetaData "Timestamp" "Google.Protobuf.Timestamp" "proto3-suite-0.4.2-J8nzVnLzLx1CRfPIE0MP0J" 'False) (C1 ('MetaCons "Timestamp" 'PrefixI 'True) (S1 ('MetaSel ('Just "timestampSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int64) :*: S1 ('MetaSel ('Just "timestampNanos") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int32)))