Struct leanpub::Summary[][src]

pub struct Summary {
    pub id: u32,
    pub title: String,
    pub subtitle: Option<String>,
    pub slug: String,
    pub about_the_book: Option<String>,
    pub total_revenue: f32,
    pub last_published_at: Option<String>,
    pub word_count: u32,
    pub page_count: u32,
    pub word_count_published: u32,
    pub page_count_published: u32,
    pub total_copies_sold: u32,
    pub meta_description: Option<String>,
    pub author_string: String,
    pub url: String,
    pub title_page_url: String,
    pub minimum_price: f32,
    pub suggested_price: f32,
    pub image: String,
    pub possible_reader_count: u32,
    pub pdf_preview_url: Option<String>,
    pub epub_preview_url: Option<String>,
    pub mobi_preview_url: Option<String>,
}

Contains summary information about a book.

Fields

The book's ID.

The book's title.

The book's subtitle.

The book's slug.

The book's description.

The book's total revenue.

The date the book was last published.

The number of words.

The number of pages.

The number of words in the published book.

The number of pages in the published book.

The number of total sold copies.

The meta description of the book.

Contains author information.

The book's URL.

A large image of the book's title page.

The book's minimum price.

The book's suggested price.

A small image of the book's title page.

The number of user's who has an interest in purchasing the book.

The URL to the PDF preview.

The URL to the epub preview.

The URL to the mobi preview.

Trait Implementations

impl Debug for Summary
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Summary

impl Sync for Summary