Skip to main content

Module author

Module author 

Source
Expand description

Author model for Ghost API.

Authors are the people who write posts and pages in Ghost.

§Example

use ghost_io_api::models::author::Author;

let author = Author {
    id: "1".to_string(),
    name: "Jane Doe".to_string(),
    slug: "jane-doe".to_string(),
    ..Default::default()
};

assert_eq!(author.name, "Jane Doe");

Structs§

Author
A Ghost author resource.