Module Email_message__.Media_type

type t
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val compare : t -> t -> int
val multipart_boundary : t -> Email_message__.Boundary.t option
val set_multipart_boundary : t -> Email_message__.Boundary.t -> t
val from_headers : Email_message__.Headers.t -> t option
val set_headers : Email_message__.Headers.t -> t -> Email_message__.Headers.t
val default : ?⁠parent:t -> unit -> t
val create : string -> string -> t

create type_ subtype represents the mime-type "type_/subtype".

val mime_type : t -> string
val mime_subtype : t -> string
val create_multipart : string -> boundary:Email_message__.Boundary.t -> t
val message_rfc822 : t
val text_plain : ?⁠charset:string -> unit -> t
val is_text : t -> bool
val is_multipart : t -> bool
val is_multipart_report : t -> bool
val is_message_rfc822 : t -> bool
val is_digest : t -> bool