pub type ContentType {
Application(application.Application)
ApplicationWithCodecs(
application.Application,
codecs: List(String),
)
Audio(audio.Audio)
AudioWithCodecs(audio.Audio, codecs: List(String))
Font(font.Font)
Example(example.Example)
Image(image.Image)
Message(message.Message)
Model(model.Model)
Multipart(multipart.Multipart)
Text(text.Text)
Video(video.Video)
VideoWithCodecs(video.Video, codecs: List(String))
Custom(media_type: String, sub_type: String)
Raw(String)
}
Constructors
-
Application(application.Application)
-
ApplicationWithCodecs(
application.Application,
codecs: List(String),
)
-
-
AudioWithCodecs(audio.Audio, codecs: List(String))
-
-
-
-
-
-
Multipart(multipart.Multipart)
-
-
-
VideoWithCodecs(video.Video, codecs: List(String))
-
Custom(media_type: String, sub_type: String)
-