Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
TD.Query.GetCountryCode
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
Constructors
GetCountryCode |
Instances
ToJSON GetCountryCode Source # | |
Defined in TD.Query.GetCountryCode Methods toJSON :: GetCountryCode -> Value # toEncoding :: GetCountryCode -> Encoding # toJSONList :: [GetCountryCode] -> Value # toEncodingList :: [GetCountryCode] -> Encoding # | |
Show GetCountryCode Source # | |
Defined in TD.Query.GetCountryCode Methods showsPrec :: Int -> GetCountryCode -> ShowS # show :: GetCountryCode -> String # showList :: [GetCountryCode] -> ShowS # | |
Eq GetCountryCode Source # | |
Defined in TD.Query.GetCountryCode Methods (==) :: GetCountryCode -> GetCountryCode -> Bool # (/=) :: GetCountryCode -> GetCountryCode -> Bool # | |
ShortShow GetCountryCode Source # | |
Defined in TD.Query.GetCountryCode Methods shortShow :: GetCountryCode -> String Source # |