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 LongFormatText Source #
The text format for a subtitle.
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
See: newLongFormatText
smart constructor.
Instances
newLongFormatText :: LongFormatText Source #
Create a value of LongFormatText
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:plainText:LongFormatText'
, longFormatText_plainText
- Plain text format.
$sel:richText:LongFormatText'
, longFormatText_richText
- Rich text. Examples of rich text include bold, underline, and italics.
longFormatText_plainText :: Lens' LongFormatText (Maybe Text) Source #
Plain text format.
longFormatText_richText :: Lens' LongFormatText (Maybe Text) Source #
Rich text. Examples of rich text include bold, underline, and italics.