{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveGeneric #-}
module Servant.API.IsSecure
(
IsSecure(..)
) where
import Data.Typeable
(Typeable)
import GHC.Generics
(Generic)
data IsSecure = Secure
| NotSecure
deriving (IsSecure -> IsSecure -> Bool
(IsSecure -> IsSecure -> Bool)
-> (IsSecure -> IsSecure -> Bool) -> Eq IsSecure
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: IsSecure -> IsSecure -> Bool
== :: IsSecure -> IsSecure -> Bool
$c/= :: IsSecure -> IsSecure -> Bool
/= :: IsSecure -> IsSecure -> Bool
Eq, Int -> IsSecure -> ShowS
[IsSecure] -> ShowS
IsSecure -> String
(Int -> IsSecure -> ShowS)
-> (IsSecure -> String) -> ([IsSecure] -> ShowS) -> Show IsSecure
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> IsSecure -> ShowS
showsPrec :: Int -> IsSecure -> ShowS
$cshow :: IsSecure -> String
show :: IsSecure -> String
$cshowList :: [IsSecure] -> ShowS
showList :: [IsSecure] -> ShowS
Show, ReadPrec [IsSecure]
ReadPrec IsSecure
Int -> ReadS IsSecure
ReadS [IsSecure]
(Int -> ReadS IsSecure)
-> ReadS [IsSecure]
-> ReadPrec IsSecure
-> ReadPrec [IsSecure]
-> Read IsSecure
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
$creadsPrec :: Int -> ReadS IsSecure
readsPrec :: Int -> ReadS IsSecure
$creadList :: ReadS [IsSecure]
readList :: ReadS [IsSecure]
$creadPrec :: ReadPrec IsSecure
readPrec :: ReadPrec IsSecure
$creadListPrec :: ReadPrec [IsSecure]
readListPrec :: ReadPrec [IsSecure]
Read, (forall x. IsSecure -> Rep IsSecure x)
-> (forall x. Rep IsSecure x -> IsSecure) -> Generic IsSecure
forall x. Rep IsSecure x -> IsSecure
forall x. IsSecure -> Rep IsSecure x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x. IsSecure -> Rep IsSecure x
from :: forall x. IsSecure -> Rep IsSecure x
$cto :: forall x. Rep IsSecure x -> IsSecure
to :: forall x. Rep IsSecure x -> IsSecure
Generic, Eq IsSecure
Eq IsSecure =>
(IsSecure -> IsSecure -> Ordering)
-> (IsSecure -> IsSecure -> Bool)
-> (IsSecure -> IsSecure -> Bool)
-> (IsSecure -> IsSecure -> Bool)
-> (IsSecure -> IsSecure -> Bool)
-> (IsSecure -> IsSecure -> IsSecure)
-> (IsSecure -> IsSecure -> IsSecure)
-> Ord IsSecure
IsSecure -> IsSecure -> Bool
IsSecure -> IsSecure -> Ordering
IsSecure -> IsSecure -> IsSecure
forall a.
Eq a =>
(a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
$ccompare :: IsSecure -> IsSecure -> Ordering
compare :: IsSecure -> IsSecure -> Ordering
$c< :: IsSecure -> IsSecure -> Bool
< :: IsSecure -> IsSecure -> Bool
$c<= :: IsSecure -> IsSecure -> Bool
<= :: IsSecure -> IsSecure -> Bool
$c> :: IsSecure -> IsSecure -> Bool
> :: IsSecure -> IsSecure -> Bool
$c>= :: IsSecure -> IsSecure -> Bool
>= :: IsSecure -> IsSecure -> Bool
$cmax :: IsSecure -> IsSecure -> IsSecure
max :: IsSecure -> IsSecure -> IsSecure
$cmin :: IsSecure -> IsSecure -> IsSecure
min :: IsSecure -> IsSecure -> IsSecure
Ord, Typeable)