Cardano.Ledger.Metadata
data Metadatum Source #
A generic metadatum type.
Constructors
Defined in Cardano.Ledger.Metadata
Associated Types
type Rep Metadatum ∷ Type → Type #
Methods
from ∷ Metadatum → Rep Metadatum x #
to ∷ Rep Metadatum x → Metadatum #
showsPrec ∷ Int → Metadatum → ShowS #
show ∷ Metadatum → String #
showList ∷ [Metadatum] → ShowS #
decCBOR ∷ Decoder s Metadatum Source #
dropCBOR ∷ Proxy Metadatum → Decoder s () Source #
label ∷ Proxy Metadatum → Text Source #
encCBOR ∷ Metadatum → Encoding Source #
encodedSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy Metadatum → Size Source #
encodedListSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy [Metadatum] → Size Source #
rnf ∷ Metadatum → () #
(==) ∷ Metadatum → Metadatum → Bool #
(/=) ∷ Metadatum → Metadatum → Bool #
compare ∷ Metadatum → Metadatum → Ordering #
(<) ∷ Metadatum → Metadatum → Bool #
(<=) ∷ Metadatum → Metadatum → Bool #
(>) ∷ Metadatum → Metadatum → Bool #
(>=) ∷ Metadatum → Metadatum → Bool #
max ∷ Metadatum → Metadatum → Metadatum #
min ∷ Metadatum → Metadatum → Metadatum #
noThunks ∷ Context → Metadatum → IO (Maybe ThunkInfo) Source #
wNoThunks ∷ Context → Metadatum → IO (Maybe ThunkInfo) Source #
showTypeOf ∷ Proxy Metadatum → String Source #
validMetadatum ∷ Metadatum → Bool Source #