mpv-0.1.0.0: Mpv Client for Polysemy
Safe HaskellSafe-Inferred
LanguageHaskell2010

Mpv.Data.Response

Documentation

newtype ResponseError Source #

Constructors

ResponseError 

Instances

Instances details
FromJSON ResponseError Source # 
Instance details

Defined in Mpv.Data.Response

ToJSON ResponseError Source # 
Instance details

Defined in Mpv.Data.Response

IsString ResponseError Source # 
Instance details

Defined in Mpv.Data.Response

Generic ResponseError Source # 
Instance details

Defined in Mpv.Data.Response

Associated Types

type Rep ResponseError :: Type -> Type #

Show ResponseError Source # 
Instance details

Defined in Mpv.Data.Response

Eq ResponseError Source # 
Instance details

Defined in Mpv.Data.Response

type Rep ResponseError Source # 
Instance details

Defined in Mpv.Data.Response

type Rep ResponseError = D1 ('MetaData "ResponseError" "Mpv.Data.Response" "mpv-0.1.0.0-JpycyfjAFzQI1mqEzHeqWy" 'True) (C1 ('MetaCons "ResponseError" 'PrefixI 'True) (S1 ('MetaSel ('Just "unResponseError") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data Response fmt Source #

Constructors

Response 

Instances

Instances details
Generic (Response fmt) Source # 
Instance details

Defined in Mpv.Data.Response

Associated Types

type Rep (Response fmt) :: Type -> Type #

Methods

from :: Response fmt -> Rep (Response fmt) x #

to :: Rep (Response fmt) x -> Response fmt #

Show fmt => Show (Response fmt) Source # 
Instance details

Defined in Mpv.Data.Response

Methods

showsPrec :: Int -> Response fmt -> ShowS #

show :: Response fmt -> String #

showList :: [Response fmt] -> ShowS #

Eq fmt => Eq (Response fmt) Source # 
Instance details

Defined in Mpv.Data.Response

Methods

(==) :: Response fmt -> Response fmt -> Bool #

(/=) :: Response fmt -> Response fmt -> Bool #

type Rep (Response fmt) Source # 
Instance details

Defined in Mpv.Data.Response

type Rep (Response fmt) = D1 ('MetaData "Response" "Mpv.Data.Response" "mpv-0.1.0.0-JpycyfjAFzQI1mqEzHeqWy" 'False) (C1 ('MetaCons "Response" 'PrefixI 'True) (S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RequestId) :*: S1 ('MetaSel ('Just "payload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Either ResponseError fmt))))