Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
Documentation
data NameValuePair Source #
Information about a name/value pair.
See: newNameValuePair
smart constructor.
Instances
Create a value of NameValuePair
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:value:NameValuePair'
, nameValuePair_value
- The value of the pair.
$sel:name:NameValuePair'
, nameValuePair_name
- The name of the pair.
nameValuePair_value :: Lens' NameValuePair (Maybe Text) Source #
The value of the pair.
nameValuePair_name :: Lens' NameValuePair Text Source #
The name of the pair.