Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data GetCountryCode = GetCountryCode
Documentation
data GetCountryCode Source #
Uses the current IP address to find the current country. Returns two-letter ISO 3166-1 alpha-2 country code. Can be called before authorization. Returns Text
Instances
ToJSON GetCountryCode Source # | |
Defined in TD.Query.GetCountryCode toJSON :: GetCountryCode -> Value # toEncoding :: GetCountryCode -> Encoding # toJSONList :: [GetCountryCode] -> Value # toEncodingList :: [GetCountryCode] -> Encoding # | |
Show GetCountryCode Source # | |
Defined in TD.Query.GetCountryCode showsPrec :: Int -> GetCountryCode -> ShowS # show :: GetCountryCode -> String # showList :: [GetCountryCode] -> ShowS # | |
Eq GetCountryCode Source # | |
Defined in TD.Query.GetCountryCode (==) :: GetCountryCode -> GetCountryCode -> Bool # (/=) :: GetCountryCode -> GetCountryCode -> Bool # | |
ShortShow GetCountryCode Source # | |
Defined in TD.Query.GetCountryCode shortShow :: GetCountryCode -> String Source # |