casa-types-0.0.2: Types for Casa
Safe HaskellNone
LanguageHaskell2010

Casa.Types

Description

 
Synopsis

Documentation

newtype BlobKey Source #

A SHA256 key to address blobs.

Constructors

BlobKey 

Instances

Instances details
Eq BlobKey Source # 
Instance details

Defined in Casa.Types

Methods

(==) :: BlobKey -> BlobKey -> Bool #

(/=) :: BlobKey -> BlobKey -> Bool #

Ord BlobKey Source # 
Instance details

Defined in Casa.Types

Read BlobKey Source # 
Instance details

Defined in Casa.Types

Show BlobKey Source # 
Instance details

Defined in Casa.Types

Hashable BlobKey Source # 
Instance details

Defined in Casa.Types

Methods

hashWithSalt :: Int -> BlobKey -> Int #

hash :: BlobKey -> Int #

ToJSON BlobKey Source # 
Instance details

Defined in Casa.Types

FromJSON BlobKey Source # 
Instance details

Defined in Casa.Types

PathPiece BlobKey Source # 
Instance details

Defined in Casa.Types

PersistFieldSql BlobKey Source # 
Instance details

Defined in Casa.Types

PersistField BlobKey Source # 
Instance details

Defined in Casa.Types

blobKeyHexParser :: Text -> Either String BlobKey Source #

Parse a blob key in hex format.

blobKeyBinaryParser :: Parser BlobKey Source #

Parse a blob key in binary format.