ArticleMeta

This is the structure used to store article meta data as Json to disk.

This content is pimarily defined from the devto API, where content_file is a separate field used to define the relative filesystem location of the markdown file to the meta file.

struct ArticleMeta {
@optional
string title;
@optional
bool published;
@optional
int id;
@optional
int organization_id;
@optional
string canonical_url;
@optional
string description;
@optional
string main_image;
@optional
string series;
@optional
string type_of;
@optional
const(string)[] tags;
@optional
string content_file;
@optional
string slug;
}

Constructors

this
this(const ArticleMe me)

Construct a Meta article from ArticleMe.

Members

Functions

opCast
T opCast()

Convert Meta data into ArticleCreate.

Meta