Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
Instances
Eq Timestamp Source # | |
Ord Timestamp Source # | |
Defined in Google.Protobuf.Timestamp | |
Show Timestamp Source # | |
Generic Timestamp Source # | |
ToJSON Timestamp Source # | |
FromJSON Timestamp Source # | |
NFData Timestamp Source # | |
Defined in Google.Protobuf.Timestamp | |
ToSchema Timestamp Source # | |
Defined in Google.Protobuf.Timestamp | |
Message Timestamp Source # | |
Defined in Google.Protobuf.Timestamp | |
Named Timestamp Source # | |
HasDefault Timestamp Source # | |
FromJSONPB Timestamp Source # | |
Defined in Google.Protobuf.Timestamp | |
ToJSONPB Timestamp Source # | |
type Rep Timestamp Source # | |
Defined in Google.Protobuf.Timestamp type Rep Timestamp = D1 ('MetaData "Timestamp" "Google.Protobuf.Timestamp" "proto3-suite-0.7.0-inplace" 'False) (C1 ('MetaCons "Timestamp" 'PrefixI 'True) (S1 ('MetaSel ('Just "timestampSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int64) :*: S1 ('MetaSel ('Just "timestampNanos") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int32))) |
fromUTCTime :: UTCTime -> Timestamp Source #