HtmlAndText
emil.MailBody.HtmlAndText
final case class HtmlAndText[F[_]](text: F[BodyContent], html: F[BodyContent]) extends MailBody[F]
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MailBody[F]class Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
def modify(ft: BodyContent => BodyContent, fh: BodyContent => BodyContent)(implicit F: Applicative[F]): HtmlAndText[F]
Inherited methods
Return the html or the text content. If only text is available, it is applied to the given function that may convert it into html.
Return the html or the text content. If only text is available, it is applied to the given function that may convert it into html.
Attributes
- Inherited from:
- MailBody
Return only the html part if present.
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Return only the text part if present.
In this article